MultiPrice AlertThis is an alert script using Pinescript version 4. This enables one to set 5 alerts (1 StopLoss, 4 Targets), on 3 different symbols, at using a single alert in the UI.
Every visible line will only appear on the symbols that are selected. After setting targets when making an alert, select this indicator as a condition. Change the name to whatever you want, usually the names of the set of tickers.
The Alert message is dyanmic showing which Symbol with each type of alert, at whatever price.
Ability to disable the targets + symbols.
Alerts work by Stop Loss crossing under price and Targets Cross Over. Enabling the "Short" Targets reverses this.
The line that is being displayed is actually the price of the asset being moved over x number of bars. I have not found a way to plot a traditional horizontal line, as the code for it uses a fixed price.
As it being a user input, it is a variable. Any help with this would be appreicated.
Alerts are set to once per bar.
Known bug that sometimes if the prices that you set are inside the current candle stick, then your alert will immeaditally fire, either change the timeframe or let it fire and wait fo
After a target is hit, I reccomend setting the alert to 0 and REMAKING the alert. You MUST REMAKE THE ALERT AFTER ANY CHANGES. This script WILL NOT CHANGE ALERTS AS YOU CHANGE SETTINGS.
TradingView Alerts are not this smart , at least I haven't found a way to do this yet.
在脚本中搜索"stop loss"
Anti-Volume Stop Loss multi timeframe [LM]Hello Traders,
I would like to introduce you fork of popular indicator Anti-Volume Stop Loss created by Buff Dormeier and cracked here on tradingview by @Rafka so shout out to him. I have tried to crack it myself as well as I'm big fan of Dormeier's work but it's not easy so really big thanks to Rafka
I have refactored original script and have included multi timeframe setting.
As its shown below you can select higher timeframe to track lower one:
Enjoy!
Bitlinc MARSI Study AST w/ Take Profit & Stop loss - beta 0.1This script is beta 0.1 - will update as soon as the script is tradable
This script is based on AST on a 10 minute timeframe. You can change the asset and the timeframe for any asset you want to trade, but for it to work correct ALL settings have to be testes in the Strategy section of the TradingView. Each assets and timeframe require a different mixture of settings. This is NOT a one settings fits all trading for all assets on any timeframe. Below are the settings and explanation on how it works.
How it fires a buy / sell:
The script will plot an RSI with upper and lower bands in a separate indicator window. The idea behind this script is to fire a LONG when MA crosses OVER lower band and fire a SHORT when the MA crosses under the lower band. Each order that fires is an OCO (Order Cancels Order) for pyramiding.
Settings:
You have full control of these settings as mentioned above, you must configure every part of this script for each asset and timeframe you trade.
- Length of MA
- Length
- Upper bands of RSI
- Lower bands of RSI
- Take profit percentage
- Stop loss percentage
- Month to start and end the strategy (within 2020)
- Day to start and end the strategy (within 2020)
- Quantity type
- Slippage
- Pyramiding
***Remember that after the signal to enter or exit a trade is fired, the alert will trigger AFTER the close of the candle that caused the tigger to fire
ATR Stop Loss LONG/SHORT by melihgulerYou can monitor the stop loss level according to ATR in 2 ways (Long/Short).
RSI + EMA+ MTF Stop-LossThis is a simple RSI with multiple MTF (No security) to help with direction short and long-term.
The rsi for the current chart has a noise reduction, while the rest are based on ma's.
I have supplied an extra flexible mtf rsi ma for potential adjustable/long-term stop-loss or direction identification.
Enjoy
RSI Stop LossExperiment for using RSI as a stop loss value, shows where the price will be when the RSI increases or decreases by a specified amount.
poki buy and sell Take profit and stop lossThis indicator is based on modelius model of lazy bear weis model with ATR for the buy=B sell =S
in addition there is Take profit and stop loss in % both for short and for long
next stage is to know the resistance level and support based on bollinger marked in blue and red dots
Also included Parabolic Sar (blue and red dots rising up or down)
The color of bulish or bearish zone is based on the cross of Hull avreage and linear regression ( for each time set may need different setting for accuracy )
So how to use this scrupt to better profit
1. if you have B signal and its on lower support level then its good starting place for buy. look at the Parabolic Sar if its in agreement. The exit can be either by S =sell, Take profit that you decide on % or by end of Parabolic SAR upward
2. exact the oposite for short
Play with setting for the desired results or change modify this script for your purpose
Pivot Stop LossHere we intend to use pivot points for stop loss and take profit. This has the added benefit of helping you to visualize support and resistance levels.
Hull modelius take profit and stop lossThis model has Hull moving average, fibs in form of Bollinger ,SMA and Modelius model with ATR for buy and sell power based on weis volume. Inside alerts for buy and sell. take profit and stop loss for both longs and shorts
so have fun
SL + TP Dynamics - By M.LolasStop Loss e Take Profit dinâmicos para operações semiautomatizadas.
By M.Lolas
STOP-LOSS-RSI with Edge-Preserving Filter Strategy V2Modified RSI strategy with entry and exit points.
I have allowed for High and Low risk for anyone interested in using it (NO GUARANTEES. DO YOUR OWN RESEARCH).
I will later consider incorporating the standard RSI for exit points. I am sure returns will increase based on current test runs :)
Returns look good based on the strategy result.
Liquidity Sweep + BOS Retest System — Prop Firm Edition🟦 Liquidity Sweep + BOS Retest System — Prop Firm Edition
A High-Probability Smart Money Strategy Built for NQ, ES, and Funding Accounts
🚀 Overview
The Liquidity Sweep + BOS Retest System (Prop Firm Edition) is a precision-engineered SMC strategy built specifically for prop firm traders. It mirrors institutional liquidity behavior and combines it with strict account-safe entry rules to help traders pass and maintain funding accounts with consistency.
Unlike typical indicators, this system waits for three confirmations — liquidity sweep, displacement, and a clean retest — before executing any trade. Every component is optimized for low drawdown, high R:R, and prop-firm-approved risk management.
Whether you’re trading Apex, TakeProfitTrader, FFF, or OneUp Trader, this system gives you a powerful mechanical framework that keeps you within rules while identifying the market’s highest-probability reversal zones.
🔥 Key Features
1. Liquidity Sweep Detection (Stop Hunt Logic)
Automatically identifies when price clears a previous swing high/low with a sweep confirmation candle.
✔ Filters noise
✔ Eliminates early entries
✔ Locks onto true liquidity grabs
2. Automatic Break of Structure (BOS) Confirmation
Price must show true displacement by breaking structure opposite the sweep direction.
✔ Confirms momentum shift
✔ Removes fake reversals
✔ Ensures institutional intent
3. Precision Retest Entry Model
The strategy enters only when price retests the BOS level at premium/discount pricing.
✔ Zero chasing
✔ Extremely tight stop loss placement
✔ Prop-firm-friendly controlled risk
4. Built-In Risk & Trade Management
SL set at swept liquidity
TP set by user-defined R:R multiplier
Optional session filter (NY Open by default)
One trade at a time (no pyramiding)
Automatically resets logic after each trade
This prevents overtrading — the #1 cause of evaluation and account breaches.
5. Designed for Prop Firm Futures Trading
This script is optimized for:
Trailing/static drawdown accounts
Micro contract precision
Funding evaluations
Low-risk, high-probability setups
Structured, rule-based execution
It reduces randomness and emotional trading by automating the highest-quality SMC sequence.
🎯 The Trading Model Behind the System
Step 1 — Liquidity Sweep
Price must take out a recent high/low and close back inside structure.
This confirms stop-hunting behavior and marks the beginning of a potential reversal.
Step 2 — BOS (Break of Structure)
Price must break the opposite side swing with a displacement candle. This validates a directional shift.
Step 3 — Retest Entry
The system waits for price to retrace into the BOS level and signal continuation.
This creates optimal R:R entry with minimal drawdown.
📈 Best Markets
NQ (NASDAQ Futures) – Highly recommended
ES, YM, RTY
Gold (XAUUSD)
FX majors
Crypto (with high volatility)
Works best on 1m, 2m, 5m, or 15m depending on your trading style.
🧠 Why Traders Love This System
✔ No signals until all confirmations align
✔ Reduces overtrading and emotional decisions
✔ Follows market structure instead of random indicators
✔ Perfect for maintaining long-term funded accounts
✔ Built around institutional-grade concepts
✔ Makes your trading consistent, calm, and rules-based
⚙️ Recommended Settings
Session: 06:30–08:00 MST (NY Open)
R:R: 1.5R – 3R
Contracts: Start with 1–2 micros
Markets: NQ for best structure & volume
📦 What’s Included
Complete strategy logic
All plots, labels, sweep markers & BOS alerts
BOS retest entry automation
Session filtering
Stop loss & take profit system
Full SMC logic pipeline
🏁 Summary
The Liquidity Sweep + BOS Retest System is a complete, prop-firm-ready, structure-based strategy that automates one of the cleanest and most reliable SMC entry models. It is designed to keep you safe, consistent, and rule-compliant while capturing premium institutional setups.
If you want to trade with confidence, discipline, and prop-firm precision — this system is for you.
Good Luck -BG
Trend Gazer v5# Trend Gazer v5: Professional Multi-Timeframe ICT Analysis System
## 📊 Overview
**Trend Gazer v5** is a comprehensive institutional-grade trading system that synthesizes multiple proven methodologies into a unified analytical framework. This indicator combines **ICT (Inner Circle Trader) concepts**, **Smart Money Structure**, **Order Block detection**, **Fair Value Gaps**, and **volumetric analysis** to provide traders with high-probability trade setups backed by institutional footprints.
Unlike fragmented indicators that force traders to switch between multiple tools, Trend Gazer v5 delivers a **holistic market view** in a single overlay, eliminating analysis paralysis and enabling confident decision-making.
---
## 🎯 Why This Combination is Necessary
### The Problem with Single-Concept Indicators
Traditional indicators suffer from three critical flaws:
1. **Isolated Context** - Price action, volume, and structure are analyzed separately, creating conflicting signals
2. **Timeframe Blindness** - Single-timeframe analysis misses institutional activity occurring across multiple timeframes
3. **Lagging Confirmation** - Waiting for one indicator to confirm another causes missed entries and late exits
### The Institutional Trading Reality
Professional traders and institutions operate across **multiple dimensions simultaneously**:
- **Structural Context**: Where are we in the market cycle? (CHoCH, SiMS, BoMS)
- **Order Flow**: Where is institutional supply and demand concentrated? (Order Blocks)
- **Inefficiencies**: Where are price imbalances that must be filled? (Fair Value Gaps)
- **Momentum Context**: Is volume expanding or contracting? (VWC/TBOSI)
- **Mean Reversion Points**: Where do institutions expect rebounds? (NPR/BB, EMAs)
**Trend Gazer v5 unifies these dimensions**, creating a complete picture of market microstructure that individual indicators cannot provide.
---
## 🔬 Core Analytical Framework
### 1️⃣ ICT Donchian Smart Money Structure
**Purpose**: Identify institutional market structure shifts that precede major moves.
**Components**:
- **CHoCH (Change of Character)** - Market structure break signaling trend exhaustion
- `1.CHoCH` (Bullish) - Lower low broken, shift to bullish structure
- `A.CHoCH` (Bearish) - Higher high broken, shift to bearish structure
- **SiMS (Shift in Market Structure)** - Initial structure shift (2nd occurrence)
- **BoMS (Break of Market Structure)** - Continuation structure (3rd+ occurrence)
**Why It's Essential**:
Retail traders react to price changes. Institutions **create** price changes by breaking structure. By detecting these shifts using **Donchian channels** (the purest form of high/low tracking), we identify the exact moments when institutional bias changes.
**Credit**: Based on *ICT Donchian Smart Money Structure* by Zeiierman (CC BY-NC-SA 4.0)
---
### 2️⃣ Multi-Timeframe Order Block Detection
**Purpose**: Map institutional supply/demand zones where price is likely to reverse.
**Methodology**:
Order Blocks represent the **last opposite-direction candle** before a strong move. These zones indicate where institutions accumulated (bullish OB) or distributed (bearish OB) positions.
**Multi-Timeframe Coverage**:
- **1-minute**: Scalping zones for day traders
- **3-minute**: Short-term swing zones
- **15-minute**: Intraday institutional zones
- **60-minute**: Daily swing zones
- **Current TF**: Dynamic adaptation to any chart timeframe
**Key Features**:
- **Bounce Detection** - Identifies when price rebounds from OB zones (Signal 7: 🎯 OB Bounce)
- **Breaker Tracking** - Monitors when OBs are violated, converting bullish OBs to resistance and vice versa
- **Visual Rendering** - Color-coded boxes with transparency showing OB strength
- **OB Direction Filter** - Blocks contradictory signals (no SELL in bullish OB, no BUY in bearish OB)
**Why MTF Order Blocks Matter**:
A 60-minute Order Block represents institutional positioning at a larger timeframe. When combined with a 3-minute entry signal, you're trading **with** the big players, not against them.
---
### 3️⃣ Fair Value Gap (FVG) Detection
**Purpose**: Identify price inefficiencies that institutional traders must eventually fill.
**What Are FVGs?**:
Fair Value Gaps occur when price moves so rapidly that it leaves an **imbalance** - a gap between the high of one candle and the low of the candle two bars later (or vice versa). Institutions view these as inefficient pricing that must be corrected.
**Detection Logic**:
```
Bullish FVG: high < low → Gap up = Bearish imbalance (expect downward fill)
Bearish FVG: low > high → Gap down = Bullish imbalance (expect upward fill)
```
**Visual Design**:
- **Bullish FVG**: Green boxes (support zones where price should bounce)
- **Bearish FVG**: Red boxes (resistance zones where price should reject)
- **Mitigation Tracking**: FVGs disappear when filled, signaling completion
- **Volume Attribution**: Each FVG tracks associated buying/selling volume
**Why FVGs Are Critical**:
Institutions operate on **efficiency**. Gaps represent inefficiency. When price returns to fill a gap, it's not random - it's institutional traders **correcting market inefficiency**. Trading into FVG fills offers exceptional risk/reward.
---
### 4️⃣ Volumetric Weighted Cloud (VWC/TBOSI)
**Purpose**: Detect momentum shifts and trend strength using volume-weighted price action.
**Mechanism**:
VWC applies **volatility weighting** to moving averages, creating a dynamic cloud that expands during high-volatility trends and contracts during consolidation.
**Multi-Timeframe Analysis**:
- **1m, 3m, 5m**: Micro-scalping momentum
- **15m**: Intraday trend confirmation
- **60m, 240m**: Swing trade trend validation
**Signal Generation**:
- **VWC Switch (Signal 2)**: When cloud color flips (red → green or green → red), indicating momentum reversal
- **VWC Status Table**: Real-time display of trend direction across all timeframes
**Why Volume-Weighting Matters**:
Traditional moving averages treat all bars equally. VWC gives **more weight to high-volume bars**, ensuring that signals reflect actual institutional participation, not low-volume noise.
---
### 5️⃣ Non-Repaint STDEV (NPR) & Bollinger Bands
**Purpose**: Identify extreme mean-reversion points without repainting.
**Problem with Traditional Indicators**:
Many indicators **repaint** - they change past values when new data arrives, making backtests misleading. NPR uses **lookahead bias prevention** to ensure signals remain fixed.
**Configuration**:
- **15-minute NPR/BB**: Intraday volatility bands
- **60-minute NPR/BB**: Swing trade extremes
- **Multiple Kernel Options**: Exponential, Simple, Double Exponential, Triple Exponential for different smoothing profiles
**Signal Logic (Signal 8)**:
- **BUY**: Price closes **inside** lower band (not just touching it) → Extreme oversold with institutional absorption likely
- **SELL**: Price closes **inside** upper band → Extreme overbought with institutional distribution likely
**Why NPR is Superior**:
Repainting indicators give traders false confidence in backtests. NPR ensures every signal you see in history is **exactly** what a trader would have seen in real-time.
---
### 6️⃣ 💎 STRONG CHoCH Pattern Detection
**Purpose**: Identify the highest-probability setups when multiple CHoCH confirmations align within a tight timeframe.
**Pattern Logic**:
**STRONG BUY Pattern**:
```
1.CHoCH → A.CHoCH → 1.CHoCH (within 20 bars)
```
This sequence indicates:
1. Initial bullish structure shift
2. Bearish retest (pullback)
3. **Renewed bullish confirmation** - Institutions are re-accumulating after shaking out weak hands
**STRONG SELL Pattern**:
```
A.CHoCH → 1.CHoCH → A.CHoCH (within 20 bars)
```
This sequence indicates:
1. Initial bearish structure shift
2. Bullish retest (dead cat bounce)
3. **Renewed bearish confirmation** - Institutions are re-distributing after trapping longs
**Visual Display**:
```
💎 BUY
```
- **0% transparency** (fully opaque) - Maximum visual priority
- Displayed **immediately** when pattern completes (no additional signal required)
- Independent of Market Structure filter (pattern itself is the confirmation)
**Why STRONG Signals Are Different**:
- **Triple Confirmation**: Three structure shifts eliminate false breakouts
- **Tight Timeframe**: 20-bar window ensures institutional conviction, not random noise
- **Automatic Display**: No waiting for price action - the pattern itself triggers the alert
- **Historical Validation**: This specific sequence has proven to precede major institutional moves
**Risk Management**:
STRONG signals offer the best risk/reward because:
1. Stop loss can be placed beyond the middle CHoCH (tight risk)
2. Target can be set at next major structure level (large reward)
3. Pattern failure is immediately evident (quick exit if wrong)
---
### 7️⃣ Multi-EMA Framework
**Purpose**: Provide dynamic support/resistance and trend context.
**EMA Configuration**:
- **EMA 7**: Micro-trend (scalping)
- **EMA 20**: Short-term trend
- **EMA 50**: Institutional pivot (Signal 6: EMA50 Bounce)
- **EMA 100**: Mid-term trend filter
- **EMA 200**: Major institutional support/resistance
- **EMA 400, 800**: Macro trend context
**Visual Fills**:
- Color-coded fills between EMAs create **visual trend strength zones**
- Convergence = consolidation
- Divergence = trending market
**Why 7 EMAs?**:
Each EMA represents a different **participant timeframe**:
- EMA 7/20: Day traders and scalpers
- EMA 50/100: Swing traders
- EMA 200/400/800: Position traders and institutions
When all EMAs align, **all participant types agree on direction** - the highest-probability trend trades.
---
## 🚀 8-Signal Trading System
Trend Gazer v5 employs **8 distinct signal conditions** (all enabled by default), each designed to capture different market regimes:
### ⭐ Signal Hierarchy & Trading Philosophy
**IMPORTANT**: Not all signals are created equal. The indicator displays a hierarchy of signal quality:
**PRIMARY SIGNALS (Trade These)**:
- 💎 **STRONG BUY/SELL** - Triple-confirmed CHoCH patterns (highest priority)
- 🌟 **Star Signals (S7, S8)** - High-probability institutional zone reactions
- Signal 7: Order Block Bounce
- Signal 8: 60m NPR/BB Bounce
**AUXILIARY SIGNALS (Confirmation & Context)**:
- **Signals 1-6** - Use these as:
- **Confirmation** for Star Signals (when multiple signals align)
- **Context** for understanding market conditions
- **Early warnings** of potential moves (validate before trading)
- **Additional filters** (e.g., "only trade Star Signals that also have Signal 1")
**Trading Recommendation**:
- **Conservative Traders**: Trade ONLY 💎 STRONG and 🌟 Star Signals
- **Moderate Traders**: Trade Star Signals + validated auxiliary signals (2+ signal confirmation)
- **Active Traders**: Use all signals with proper risk management
The visual transparency system reinforces this hierarchy:
- 0% transparent = STRONG (💎) - Highest conviction
- 50% transparent = Star (🌟) + OB signals - High quality
- 70% transparent = Auxiliary (S1-S6) - Supplementary information
### Signal 1: RSI Shift + Structure (AND Logic)
**Strictest Signal** - Requires both RSI momentum confirmation AND structure change.
- **Use Case**: High-conviction trades in trending markets
- **Frequency**: Least frequent, highest accuracy
### Signal 2: VWC Switch (OR Logic)
**Most Frequent Signal** - Triggers on any VWC color flip across monitored timeframes.
- **Use Case**: Capturing early momentum shifts
- **Frequency**: Most frequent, good for active traders
### Signal 3: Structure Change
**Bar Color Change with RSI Confirmation** - Detects when candle color shifts with supporting RSI.
- **Use Case**: Trend continuation trades
- **Frequency**: Moderate
### Signal 4: BB Breakout + RSI
**Bollinger Band Breakout Reversal** - Price breaks band then immediately reverses.
- **Use Case**: Fade false breakouts
- **Frequency**: Moderate, excellent risk/reward
### Signal 5: BB/EMA50 Break
**Aggressive Breakout Signal** - Price breaks both BB and EMA50 simultaneously.
- **Use Case**: Momentum breakout trades
- **Frequency**: Moderate-high
### Signal 6: EMA50 Bounce Reversal
**Mean Reversion at EMA50** - Price touches EMA50 and bounces.
- **Use Case**: Trading pullbacks in strong trends
- **Frequency**: Moderate, reliable
### Signal 7: 🌟 OB Bounce (Star Signal)
**Order Block Bounce** - Price enters OB zone and reverses.
- **Use Case**: Institutional zone reactions
- **Frequency**: Low, but extremely high quality
- **Special Features**:
- 🎯 **OB Bounce Label**: `🌟 🎯 BUY/SELL ` - Actual Signal 7 bounce from visible OB
- 📍 **In OB Label**: `📍 BUY/SELL ` - Other signals (S1-6, S8) occurring inside an OB zone
- **OB Direction Filter**: Blocks contradictory signals (no SELL in bullish OB, no BUY in bearish OB)
### Signal 8: 🌟 60m NPR/BB Bounce (Star Signal)
**Extreme Mean-Reversion** - Price closes **inside** 60m NPR/BB bands at extremes.
- **Use Case**: Capturing institutional absorption at extremes
- **Frequency**: Low, exceptional win rate
- **Special Logic**: Candle close must be **INSIDE** bands, not just touching (prevents false breakouts)
### 💎 STRONG Signals (Bonus)
**CHoCH Pattern Completion** - Triple-confirmed structure shifts.
- **STRONG BUY**: `1.CHoCH → A.CHoCH → 1.CHoCH (≤20 bars)`
- **STRONG SELL**: `A.CHoCH → 1.CHoCH → A.CHoCH (≤20 bars)`
- **Display**: Immediate upon pattern completion (independent signal)
- **Use Case**: Highest-conviction institutional trend shifts
---
## 🎨 Visual Design Philosophy
### Signal Hierarchy via Transparency
**0% Transparency (Opaque)**:
- 💎 **STRONG BUY/SELL** - Highest priority, institutional pattern confirmation
**50% Transparency**:
- 🌟 **Star Signals** (S7, S8) - High-quality mean reversion
- 🎯 **OB Bounce** - Institutional zone reaction
- 📍 **In OB** - Enhanced signal in institutional zone
- **CHoCH Labels** (1.CHoCH, A.CHoCH) - Structure shift markers
**70% Transparency**:
- **Regular Signals** (S1-S6) - Standard trade setups
This visual hierarchy ensures traders **instantly recognize** high-priority setups without analysis paralysis.
### Color Scheme: Japanese Candlestick Convention
**Bullish = Red | Bearish = Blue/Green**
This follows traditional Japanese candlestick methodology where:
- **Red (Yang)**: Positive energy, rising prices, bullish
- **Blue/Green (Yin)**: Negative energy, falling prices, bearish
While Western conventions often reverse this, we maintain **ICT and institutional conventions** for consistency with professional trading rooms.
---
## 📡 Alert System
### Any Alert (Automatic)
**8 Events Monitored**:
1. 💎 **STRONG BUY** - Pattern: `1.CHoCH → A.CHoCH → 1.CHoCH`
2. 💎 **STRONG SELL** - Pattern: `A.CHoCH → 1.CHoCH → A.CHoCH`
3. ⭐ **Star BUY** - Signal 7 or 8
4. ⭐ **Star SELL** - Signal 7 or 8
5. 📍 **BUY (in OB)** - Any signal inside Bullish Order Block
6. 📍 **SELL (in OB)** - Any signal inside Bearish Order Block
7. **Bullish CHoCH** - Market structure shift to bullish
8. **Bearish CHoCH** - Market structure shift to bearish
**Format**: `TICKER TIMEFRAME EventName`
**Example**: `BTCUSDT 5 💎 STRONG BUY`
### Individual alertcondition() Options
Create custom alerts for specific events:
- BUY/SELL Signals (all or filtered)
- Star Signals Only (S7/S8)
- STRONG Signals Only (💎)
- CHoCH Events Only
- Bullish/Bearish CHoCH separately
---
## ⚙️ Configuration & Settings
### ICT Structure Filter (DEFAULT ON ⭐)
**Enable Structure Filter**: Display signals ONLY after CHoCH/SiMS/BoMS
- **Purpose**: Filter out noise by requiring institutional confirmation
- **Recommendation**: Keep enabled for disciplined trading
**Show Structure Labels (DEFAULT ON ⭐)**: Display CHoCH/SiMS/BoMS labels
- **Purpose**: Visual confirmation of market structure state
- **Labels**:
- `1.CHoCH` (Red background, white text) - Bullish structure shift
- `A.CHoCH` (Blue background, white text) - Bearish structure shift
- `2.SMS` / `B.SMS` (Red/Blue text) - Shift in Market Structure (2nd occurrence)
- `3.BMS` / `C.BMS` (Red/Blue text) - Break of Market Structure (3rd+ occurrence)
**Structure Period**: Default 3 bars (ICT standard)
### Order Block Configuration
**Enable Multi-Timeframe OBs**: Detect OBs from multiple timeframes simultaneously
**Mitigation Options**:
- Close - OB invalidated when candle closes through it
- Wick - OB invalidated when wick touches it
- 50% - OB invalidated when 50% of zone is violated
**Show OBs from**:
- Current Timeframe (always)
- 1m, 3m, 15m, 60m (selectable)
### Fair Value Gap Settings
**Show FVGs**: Enable/disable FVG rendering
**Mitigation Source**: Wick, Close, or 50% fill
**Color Customization**: Bullish FVG (green), Bearish FVG (red)
### Signal Filters
**Show ONLY Star Signals (DEFAULT OFF)**:
- When ON: Display only S7 (OB Bounce) and S8 (NPR/BB Bounce)
- When OFF: Display all signals S1-S8 (DEFAULT)
- **Use Case**: Focus on highest-quality setups, ignore noise
### Visual Settings
**EMA Display**: Toggle individual EMAs on/off
**VWC Cloud**: Enable/disable volumetric cloud
**NPR/BB Bands**: Show/hide 15m and 60m bands
**Status Table**: Real-time VWC status across all timeframes
---
## 📚 How to Use
### For Scalpers (1m-5m Charts)
1. Enable **1m and 3m Order Blocks**
2. Watch for **Signal 2 (VWC Switch)** or **Signal 5 (BB/EMA50 Break)**
3. Confirm with **1m/3m MTF OB** as support/resistance
4. Use **FVGs** for micro-target setting
5. Set alerts for **Star BUY/SELL** for highest-quality scalps
### For Day Traders (15m-60m Charts)
1. Enable **15m and 60m Order Blocks**
2. Wait for **CHoCH** to establish bias
3. Trade **Signal 7 (OB Bounce)** or **Signal 8 (60m NPR/BB Bounce)**
4. Use **EMA 50/100** as dynamic stop placement
5. Set alerts for **💎 STRONG BUY/SELL** for major moves
### For Swing Traders (4H-Daily Charts)
1. Enable **60m Order Blocks** (will render as larger zones on HTF)
2. Wait for **Market Structure confirmation** (CHoCH)
3. Focus on **Signal 1 (RSI Shift + Structure)** for highest conviction
4. Use **EMA 200/400/800** for macro trend alignment
5. Set alerts for **Bullish/Bearish CHoCH** to catch structure shifts early
### Universal Strategy (Recommended Approach)
1. **Focus on Primary Signals First** - Build your track record with 💎 STRONG and 🌟 Star Signals only
2. **Wait for Market Structure** - Never trade against CHoCH direction
3. **Use Auxiliary Signals for Confirmation** - When a Star Signal appears, check if auxiliary signals (S1-6) also confirm
4. **Respect Order Blocks** - Fade signals that contradict OB direction
5. **Use FVGs for Targets** - Price gravitates toward unfilled gaps
6. **Gradually Incorporate Auxiliary Signals** - Once profitable with primary signals, experiment with validated auxiliary setups
### Signal Quality Statistics (Typical Observation)
Based on common market behavior patterns:
**💎 STRONG Signals**:
- Frequency: Rare (1-3 per week on daily charts)
- Win Rate: Very High (70-85% when proper risk management applied)
- Risk/Reward: Excellent (1:3 to 1:5+ typical)
**🌟 Star Signals (S7, S8)**:
- Frequency: Moderate (2-5 per day on lower timeframes)
- Win Rate: High (60-75% when aligned with structure)
- Risk/Reward: Good (1:2 to 1:4 typical)
**Auxiliary Signals (S1-6)**:
- Frequency: High (multiple per hour on active timeframes)
- Win Rate: Moderate (50-65% standalone, higher when used as confirmation)
- Risk/Reward: Variable (1:1 to 1:3 typical)
**Key Insight**: Trading only primary signals reduces trade frequency but dramatically improves consistency and psychological ease.
---
## 🏆 What Makes This Indicator Unique
### 1. **True Multi-Timeframe Integration**
Most "MTF" indicators simply display data from other timeframes. Trend Gazer v5 **synthesizes** MTF data into unified signals, eliminating conflicting information.
### 2. **Non-Repainting Architecture**
All signals are fixed at bar close. What you see in backtests is exactly what you'd see in real-time.
### 3. **Institutional Focus**
Every component is designed around institutional behavior:
- Where they accumulate (Order Blocks)
- When they shift (CHoCH)
- What they must fix (FVGs)
- How they create momentum (VWC)
### 4. **Complete Transparency**
- **Open Source** - Full code visibility
- **Credited Sources** - All borrowed concepts attributed
- **No Black Boxes** - Every calculation is documented
### 5. **Flexible Yet Focused**
- **8 Signal Types** - Adapts to any market regime
- **Default Settings Optimized** - Works immediately without tweaking
- **Optional Filters** - "Show ONLY Star Signals" for disciplined traders
### 6. **Professional Alert System**
- **8-event Any Alert** - Never miss institutional moves
- **Individual alertconditions** - Customize to your strategy
- **Formatted Messages** - Ticker + Timeframe + Event for instant context
---
## 📖 Educational Value
### Learning ICT Concepts
This indicator serves as a **visual teaching tool** for:
- **Market Structure**: See CHoCH/SiMS/BoMS in real-time
- **Order Blocks**: Understand where institutions positioned
- **Fair Value Gaps**: Learn how inefficiencies are filled
- **Smart Money Behavior**: Watch institutional footprints unfold
### Backtesting & Strategy Development
Use Trend Gazer v5 to:
1. **Validate ICT Concepts** - Do OB bounces really work? Test it.
2. **Optimize Entry Timing** - Which signals work best in your market?
3. **Develop Filters** - Combine signals for your edge
4. **Build Strategies** - Export signals to Pine Script strategies
---
## ⚠️ Disclaimer
This indicator is for **educational and informational purposes only**. It should not be considered as financial advice or a recommendation to buy or sell any financial instrument.
**Trading involves substantial risk of loss**. Past performance is not indicative of future results. No indicator, regardless of sophistication, can guarantee profitable trades.
**Always:**
- Conduct your own research
- Use proper risk management (1-2% risk per trade)
- Consult with qualified financial advisors
- Practice on paper/demo accounts before live trading
- Understand that you are solely responsible for your trading decisions
---
## 🔗 Credits & Licenses
### Original Code Sources
1. **ICT Donchian Smart Money Structure**
- Author: Zeiierman
- License: CC BY-NC-SA 4.0
- Modifications: Integrated with multi-signal system, added CHoCH pattern detection
2. **Reverse RSI Signals**
- Author: AlgoAlpha
- License: MPL 2.0
- Modifications: Adapted for internal signal logic
3. **Volumetric Weighted Cloud (VWC/TBOSI)**
- Original concept adapted for multi-timeframe analysis
- Enhanced with MTF table display
4. **Order Block & FVG Detection**
- Based on ICT concepts
- Custom implementation with MTF support
### This Indicator's License
**Mozilla Public License 2.0 (MPL 2.0)**
You are free to:
- ✅ Use commercially
- ✅ Modify and distribute
- ✅ Use privately
- ✅ Patent use
Under conditions:
- 📄 Disclose source
- 📄 License and copyright notice
- 📄 Same license for modifications
---
## 📞 Support & Community
### Reporting Issues
If you encounter bugs or have feature suggestions, please provide:
1. Chart timeframe and symbol
2. Settings configuration
3. Screenshot of the issue
4. Expected vs actual behavior
### Best Practices
- Start with default settings
- Gradually enable/disable features to understand each component
- Use demo account for at least 30 days before live trading
- Combine with proper risk management
---
## 🚀 Version History
### v5.0 - Simplified ICT Mode (Current)
- ✅ Removed all unused filters and features
- ✅ Enabled all 8 signals by default
- ✅ Added 💎 STRONG CHoCH pattern detection
- ✅ Enhanced OB Bounce labeling system
- ✅ Added FVG detection and visualization
- ✅ Improved alert system (8 events)
- ✅ Optimized performance (faster rendering)
- ✅ Added comprehensive DESCRIPTION documentation
### v4.2 - ICT Mode with EMA Convergence Filter (Deprecated)
- Legacy version with EMA convergence features (removed for simplicity)
### v4.0 - Pure ICT Mode (Deprecated)
- Initial ICT-focused release
---
## 🎓 Recommended Learning Resources
To fully leverage this indicator, study:
1. **ICT Concepts** (Inner Circle Trader - YouTube)
- Market Structure
- Order Blocks
- Fair Value Gaps
- Liquidity Concepts
2. **Smart Money Concepts (SMC)**
- Change of Character (CHoCH)
- Break of Structure (BOS)
- Liquidity Sweeps
3. **Volume Spread Analysis (VSA)**
- Effort vs Result
- Supply vs Demand
- Volume Climax
4. **Risk Management**
- Position Sizing
- R-Multiple Theory
- Win Rate vs Risk/Reward Balance
---
## ✅ Quick Start Checklist
- Add indicator to chart
- Verify **Enable Structure Filter** is ON
- Verify **Show Structure Labels** is ON
- Enable desired MTF Order Blocks (1m, 3m, 15m, 60m)
- Enable FVG display
- Set up **Any Alert** for all 8 events
- Paper trade for 30 days minimum
- Document your trades (screenshots + notes)
- Review performance weekly
- Adjust filters based on your strategy
---
## 💡 Final Thoughts
**Trend Gazer v5 is not a "magic button" indicator.** It's a professional analytical framework that requires education, practice, and discipline.
The best traders don't use indicators to **tell them what to do**. They use indicators to **confirm what they already see** in price action.
Use this tool to:
- ✅ Confirm your analysis
- ✅ Filter out low-probability setups
- ✅ Identify institutional footprints
- ✅ Time entries with precision
Avoid using it to:
- ❌ Trade blindly without understanding context
- ❌ Ignore risk management
- ❌ Revenge trade after losses
- ❌ Replace education with automation
**Trade smart. Trade safe. Trade with structure.**
---
**© rasukaru666 | 2025 | Mozilla Public License 2.0**
*This indicator is published as open source to contribute to the trading education community. If it helps you, please share your experience and help others learn.*
------------------------------------------------------
# Trend Gazer v5: プロフェッショナル・マルチタイムフレームICT分析システム
## 📊 概要
**Trend Gazer v5** は、複数の実証済み手法を統合した分析フレームワークを提供する、包括的な機関投資家グレードの取引システムです。このインジケーターは、**ICT(Inner Circle Trader)コンセプト**、**スマートマネー構造**、**オーダーブロック検知**、**フェアバリューギャップ**、および**出来高分析**を組み合わせて、機関投資家の足跡に裏打ちされた高確率の取引セットアップをトレーダーに提供します。
断片的なインジケーターは、トレーダーに複数のツールを切り替えることを強いますが、Trend Gazer v5は**包括的な市場ビュー**を単一のオーバーレイで提供し、分析麻痺を排除して自信ある意思決定を可能にします。
---
## 🎯 なぜこの組み合わせが必要なのか
### 単一コンセプトインジケーターの問題点
従来のインジケーターは3つの致命的な欠陥を抱えています:
1. **孤立したコンテキスト** - 価格、出来高、構造が個別に分析され、矛盾するシグナルを生成
2. **タイムフレームの盲目性** - 単一タイムフレーム分析は、複数のタイムフレームで発生する機関投資家の活動を見逃す
3. **遅れた確認** - あるインジケーターが別のインジケーターの確認を待つことで、エントリーを逃し、エグジットが遅れる
### 機関投資家の取引実態
プロのトレーダーや機関投資家は、**複数の次元を同時に**操作します:
- **構造的コンテキスト**: 市場サイクルのどこにいるのか?(CHoCH、SiMS、BoMS)
- **オーダーフロー**: 機関投資家の需要と供給が集中しているのはどこか?(オーダーブロック)
- **非効率性**: 埋めなければならない価格の不均衡はどこか?(フェアバリューギャップ)
- **モメンタムコンテキスト**: 出来高は拡大しているか縮小しているか?(VWC/TBOSI)
- **平均回帰ポイント**: 機関投資家がリバウンドを期待する場所はどこか?(NPR/BB、EMA)
**Trend Gazer v5はこれらの次元を統合**し、個別のインジケーターでは提供できない市場マイクロ構造の完全な全体像を作成します。
---
## 🔬 コア分析フレームワーク
### 1️⃣ ICT ドンチャン・スマートマネー構造
**目的**: 大きな動きに先行する機関投資家の市場構造シフトを識別する。
**コンポーネント**:
- **CHoCH (Change of Character / 性質の変化)** - トレンド疲弊を示す市場構造のブレイク
- `1.CHoCH`(強気) - 直近安値のブレイク、強気構造へのシフト
- `A.CHoCH`(弱気) - 直近高値のブレイク、弱気構造へのシフト
- **SiMS (Shift in Market Structure / 市場構造のシフト)** - 初期構造シフト(2回目の発生)
- **BoMS (Break of Market Structure / 市場構造のブレイク)** - 継続構造(3回目以降の発生)
**なぜ不可欠なのか**:
小売トレーダーは価格変化に反応します。機関投資家は構造を破ることで価格変化を**作り出します**。**ドンチャンチャネル**(高値/安値追跡の最も純粋な形式)を使用してこれらのシフトを検出することで、機関投資家のバイアスが変化する正確な瞬間を特定します。
**クレジット**: Zeiierman氏の*ICT Donchian Smart Money Structure*に基づく(CC BY-NC-SA 4.0)
---
### 2️⃣ マルチタイムフレーム・オーダーブロック検知
**目的**: 価格が反転する可能性が高い機関投資家の需給ゾーンをマッピングする。
**方法論**:
オーダーブロックは、強い動きの前の**最後の反対方向ローソク足**を表します。これらのゾーンは、機関投資家がポジションを蓄積(強気OB)または分配(弱気OB)した場所を示します。
**マルチタイムフレームカバレッジ**:
- **1分足**: デイトレーダー向けスキャルピングゾーン
- **3分足**: 短期スイングゾーン
- **15分足**: イントラデイ機関投資家ゾーン
- **60分足**: デイリースイングゾーン
- **現在のTF**: 任意のチャートタイムフレームへの動的適応
**主要機能**:
- **バウンス検知** - OBゾーンから価格がリバウンドする時を識別(シグナル7: 🎯 OBバウンス)
- **ブレーカー追跡** - OBが破られた時を監視し、強気OBを抵抗に、弱気OBをサポートに変換
- **ビジュアルレンダリング** - OBの強度を示す透明度付きの色分けされたボックス
- **OB方向フィルター** - 矛盾するシグナルをブロック(強気OBでSELLなし、弱気OBでBUYなし)
**なぜMTFオーダーブロックが重要か**:
60分足のオーダーブロックは、より大きなタイムフレームでの機関投資家のポジショニングを表します。3分足のエントリーシグナルと組み合わせることで、大口プレイヤーと**同じ方向**で取引することになります。
---
### 3️⃣ フェアバリューギャップ(FVG)検知
**目的**: 機関投資家が最終的に埋めなければならない価格の非効率性を識別する。
**FVGとは何か?**:
フェアバリューギャップは、価格があまりにも急速に動いて**不均衡**を残す時に発生します - 1本のローソク足の高値と2本後のローソク足の安値の間のギャップ(またはその逆)。機関投資家はこれらを修正されなければならない非効率的な価格設定と見なします。
**検知ロジック**:
```
強気FVG: high < low → ギャップアップ = 弱気の不均衡(下方フィル予想)
弱気FVG: low > high → ギャップダウン = 強気の不均衡(上方フィル予想)
```
**ビジュアルデザイン**:
- **強気FVG**: 緑のボックス(価格がバウンドすべきサポートゾーン)
- **弱気FVG**: 赤のボックス(価格が拒否されるべき抵抗ゾーン)
- **ミティゲーション追跡**: FVGは埋められると消え、完了を示す
- **出来高帰属**: 各FVGは関連する買い/売り出来高を追跡
**なぜFVGが重要か**:
機関投資家は**効率性**で動きます。ギャップは非効率性を表します。価格がギャップを埋めるために戻る時、それはランダムではありません - 機関投資家が**市場の非効率性を修正**しているのです。FVGフィルへの取引は卓越したリスク/リワードを提供します。
---
### 4️⃣ 出来高加重クラウド(VWC/TBOSI)
**目的**: 出来高加重プライスアクションを使用してモメンタムシフトとトレンド強度を検出する。
**メカニズム**:
VWCは移動平均に**ボラティリティ加重**を適用し、高ボラティリティトレンド中に拡大し、コンソリデーション中に縮小する動的クラウドを作成します。
**マルチタイムフレーム分析**:
- **1m、3m、5m**: マイクロスキャルピングモメンタム
- **15m**: イントラデイトレンド確認
- **60m、240m**: スイングトレードトレンド検証
**シグナル生成**:
- **VWCスイッチ(シグナル2)**: クラウドの色が反転した時(赤→緑または緑→赤)、モメンタム反転を示す
- **VWCステータステーブル**: 全タイムフレームのトレンド方向のリアルタイム表示
**なぜ出来高加重が重要か**:
従来の移動平均はすべてのバーを等しく扱います。VWCは**高出来高バーに重みを与え**、シグナルが低出来高のノイズではなく、実際の機関投資家の参加を反映することを保証します。
---
### 5️⃣ ノンリペイントSTDEV(NPR)&ボリンジャーバンド
**目的**: リペイントなしで極端な平均回帰ポイントを識別する。
**従来のインジケーターの問題点**:
多くのインジケーターは**リペイント**します - 新しいデータが到着すると過去の値を変更し、バックテストを誤解させます。NPRは**先読みバイアス防止**を使用して、シグナルが固定されたままであることを保証します。
**設定**:
- **15分足NPR/BB**: イントラデイボラティリティバンド
- **60分足NPR/BB**: スイングトレード極値
- **複数のカーネルオプション**: 指数、単純、二重指数、三重指数 - 異なる平滑化プロファイル
**シグナルロジック(シグナル8)**:
- **BUY**: 価格が下部バンドの**内側**でクローズ(触れるだけではない)→ 極端な売られ過ぎで機関投資家の吸収が可能性高い
- **SELL**: 価格が上部バンドの**内側**でクローズ → 極端な買われ過ぎで機関投資家の分配が可能性高い
**なぜNPRが優れているか**:
リペイントインジケーターはトレーダーにバックテストで誤った自信を与えます。NPRは、履歴で見るすべてのシグナルが、トレーダーがリアルタイムで見たであろうもの**そのもの**であることを保証します。
---
### 6️⃣ 💎 STRONG CHoChパターン検知
**目的**: 短い時間枠内で複数のCHoCH確認が整列した時の最高確率セットアップを識別する。
**パターンロジック**:
**STRONG BUYパターン**:
```
1.CHoCH → A.CHoCH → 1.CHoCH(20バー以内)
```
このシーケンスは以下を示します:
1. 初期強気構造シフト
2. 弱気リテスト(プルバック)
3. **更新された強気確認** - 機関投資家は弱い手を振り落とした後に再蓄積中
**STRONG SELLパターン**:
```
A.CHoCH → 1.CHoCH → A.CHoCH(20バー以内)
```
このシーケンスは以下を示します:
1. 初期弱気構造シフト
2. 強気リテスト(デッドキャットバウンス)
3. **更新された弱気確認** - 機関投資家はロングを罠にかけた後に再分配中
**ビジュアル表示**:
```
💎 BUY
```
- **0%透明度**(完全不透明) - 最大の視覚的優先度
- パターン完成時に**即座に**表示(追加シグナル不要)
- 市場構造フィルターから独立(パターン自体が確認)
**なぜSTRONGシグナルが異なるか**:
- **三重確認**: 3つの構造シフトが誤ったブレイクアウトを排除
- **短い時間枠**: 20バーウィンドウがランダムなノイズではなく、機関投資家の確信を保証
- **自動表示**: 価格アクションを待たない - パターン自体がアラートをトリガー
- **歴史的検証**: この特定のシーケンスは主要な機関投資家の動きに先行することが証明されている
**リスク管理**:
STRONGシグナルは最高のリスク/リワードを提供します:
1. ストップロスは中央のCHoCHの外に配置可能(タイトなリスク)
2. ターゲットは次の主要構造レベルに設定可能(大きなリワード)
3. パターン失敗は即座に明らか(間違っていればクイックエグジット)
---
### 7️⃣ マルチEMAフレームワーク
**目的**: ダイナミックなサポート/レジスタンスとトレンドコンテキストを提供する。
**EMA設定**:
- **EMA 7**: マイクロトレンド(スキャルピング)
- **EMA 20**: 短期トレンド
- **EMA 50**: 機関投資家のピボット(シグナル6: EMA50バウンス)
- **EMA 100**: 中期トレンドフィルター
- **EMA 200**: 主要な機関投資家のサポート/レジスタンス
- **EMA 400、800**: マクロトレンドコンテキスト
**ビジュアルフィル**:
- EMA間の色分けされたフィルが**ビジュアルトレンド強度ゾーン**を作成
- 収束 = コンソリデーション
- 発散 = トレンド市場
**なぜ7つのEMAか?**:
各EMAは異なる**参加者タイムフレーム**を表します:
- EMA 7/20: デイトレーダーとスキャルパー
- EMA 50/100: スイングトレーダー
- EMA 200/400/800: ポジショントレーダーと機関投資家
すべてのEMAが整列した時、**すべての参加者タイプが方向に同意**している - 最高確率のトレンド取引です。
---
## 🚀 8シグナル取引システム
Trend Gazer v5は**8つの異なるシグナル条件**(すべてデフォルトで有効)を採用しており、それぞれが異なる市場レジームを捕捉するように設計されています:
### ⭐ シグナル階層&取引哲学
**重要**: すべてのシグナルが同じではありません。インジケーターはシグナル品質の階層を表示します:
**プライマリーシグナル(これを取引する)**:
- 💎 **STRONG BUY/SELL** - 三重CHoChパターン(最優先)
- 🌟 **スターシグナル(S7、S8)** - 高確率の機関投資家ゾーン反応
- シグナル7: オーダーブロックバウンス
- シグナル8: 60m NPR/BBバウンス
**補助シグナル(確認とコンテキスト)**:
- **シグナル1-6** - これらを以下として使用:
- スターシグナルの**確認**(複数のシグナルが整列した時)
- 市場状況を理解するための**コンテキスト**
- 潜在的な動きの**早期警告**(取引前に検証)
- **追加フィルター**(例:「シグナル1も出ているスターシグナルのみ取引」)
**取引推奨**:
- **保守的トレーダー**: 💎 STRONGと🌟スターシグナル**のみ**取引
- **中程度トレーダー**: スターシグナル + 検証された補助シグナル(2+シグナル確認)
- **アクティブトレーダー**: 適切なリスク管理ですべてのシグナルを使用
視覚的透明度システムはこの階層を強化します:
- 0%透明度 = STRONG(💎) - 最高の確信
- 50%透明度 = スター(🌟)+ OBシグナル - 高品質
- 70%透明度 = 補助(S1-S6) - 補足情報
### シグナル1: RSIシフト + 構造(ANDロジック)
**最も厳格なシグナル** - RSIモメンタム確認と構造変化の両方が必要。
- **使用例**: トレンド市場での高確信取引
- **頻度**: 最も少ない、最高の精度
- **分類**:
### シグナル2: VWCスイッチ(ORロジック)
**最も頻繁なシグナル** - 監視されているタイムフレームでのVWC色反転でトリガー。
- **使用例**: 早期モメンタムシフトの捕捉
- **頻度**: 最も頻繁、アクティブトレーダーに適している
- **分類**:
### シグナル3: 構造変化
**バーカラー変化とRSI確認** - RSIサポートでローソク足の色がシフトする時を検出。
- **使用例**: トレンド継続取引
- **頻度**: 中程度
- **分類**:
### シグナル4: BBブレイクアウト + RSI
**ボリンジャーバンドブレイクアウト反転** - 価格がバンドを破った後すぐに反転。
- **使用例**: 誤ったブレイクアウトをフェード
- **頻度**: 中程度、優れたリスク/リワード
- **分類**:
### シグナル5: BB/EMA50ブレイク
**積極的ブレイクアウトシグナル** - 価格がBBとEMA50を同時にブレイク。
- **使用例**: モメンタムブレイクアウト取引
- **頻度**: 中〜高
- **分類**:
### シグナル6: EMA50バウンス反転
**EMA50での平均回帰** - 価格がEMA50に触れてバウンス。
- **使用例**: 強いトレンドでのプルバック取引
- **頻度**: 中程度、信頼性あり
- **分類**:
### シグナル7: 🌟 OBバウンス(スターシグナル)
**オーダーブロックバウンス** - 価格がOBゾーンに入って反転。
- **使用例**: 機関投資家ゾーン反応
- **頻度**: 低いが、極めて高品質
- **分類**:
- **特別機能**:
- 🎯 **OBバウンスラベル**: `🌟 🎯 BUY/SELL ` - 可視OBからの実際のシグナル7バウンス
- 📍 **In OBラベル**: `📍 BUY/SELL ` - OBゾーン内で発生する他のシグナル(S1-6、S8)
- **OB方向フィルター**: 矛盾するシグナルをブロック(強気OBでSELLなし、弱気OBでBUYなし)
### シグナル8: 🌟 60m NPR/BBバウンス(スターシグナル)
**極端な平均回帰** - 価格が60m NPR/BBバンドの極値で**内側に**クローズ。
- **使用例**: 極値での機関投資家の吸収を捕捉
- **頻度**: 低い、卓越した勝率
- **分類**:
- **特別ロジック**: ローソク足のクローズがバンドの**内側**でなければならない(触れるだけではダメ、誤ったブレイクアウトを防止)
### 💎 STRONGシグナル(ボーナス)
**CHoChパターン完成** - 三重確認された構造シフト。
- **STRONG BUY**: `1.CHoCH → A.CHoCH → 1.CHoCH(≤20バー)`
- **STRONG SELL**: `A.CHoCH → 1.CHoCH → A.CHoCH(≤20バー)`
- **表示**: パターン完成時に即座(独立したシグナル)
- **分類**:
- **使用例**: 最高確信の機関投資家トレンドシフト
---
## 🎨 ビジュアルデザイン哲学
### 透明度によるシグナル階層
**0%透明度(不透明)**:
- 💎 **STRONG BUY/SELL** - 最優先、機関投資家パターン確認
**50%透明度**:
- 🌟 **スターシグナル**(S7、S8) - 高品質平均回帰
- 🎯 **OBバウンス** - 機関投資家ゾーン反応
- 📍 **In OB** - 機関投資家ゾーン内の強化されたシグナル
- **CHoChラベル**(1.CHoCH、A.CHoCH) - 構造シフトマーカー
**70%透明度**:
- **通常シグナル**(S1-S6) - 標準取引セットアップ
この視覚的階層により、トレーダーは分析麻痺なしに高優先度セットアップを**即座に認識**できます。
### カラースキーム: 日本式ローソク足慣例
**強気 = 赤 | 弱気 = 青/緑**
これは伝統的な日本式ローソク足方法論に従います:
- **赤(陽)**: ポジティブエネルギー、上昇価格、強気
- **青/緑(陰)**: ネガティブエネルギー、下降価格、弱気
西洋の慣例はしばしばこれを逆にしますが、プロの取引ルームとの一貫性のために**ICTと機関投資家の慣例**を維持します。
---
## 📡 アラートシステム
### Any Alert(自動)
**8つのイベントを監視**:
1. 💎 **STRONG BUY** - パターン: `1.CHoCH → A.CHoCH → 1.CHoCH`
2. 💎 **STRONG SELL** - パターン: `A.CHoCH → 1.CHoCH → A.CHoCH`
3. ⭐ **Star BUY** - シグナル7または8
4. ⭐ **Star SELL** - シグナル7または8
5. 📍 **BUY (in OB)** - 強気オーダーブロック内の任意のシグナル
6. 📍 **SELL (in OB)** - 弱気オーダーブロック内の任意のシグナル
7. **Bullish CHoCH** - 強気への市場構造シフト
8. **Bearish CHoCH** - 弱気への市場構造シフト
**フォーマット**: `TICKER TIMEFRAME EventName`
**例**: `BTCUSDT 5 💎 STRONG BUY`
### 個別alertcondition()オプション
特定のイベントのカスタムアラートを作成:
- BUY/SELLシグナル(すべてまたはフィルタリング)
- スターシグナルのみ(S7/S8)
- STRONGシグナルのみ(💎)
- CHoChイベントのみ
- 強気/弱気CHoCH個別
---
## ⚙️ 設定と設定
### ICT構造フィルター(デフォルトON ⭐)
**構造フィルターを有効化**: CHoCH/SiMS/BoMS後のシグナル**のみ**表示
- **目的**: 機関投資家の確認を要求することでノイズをフィルター
- **推奨**: 規律ある取引のために有効のままにする
**構造ラベルを表示(デフォルトON ⭐)**: CHoCH/SiMS/BoMSラベルを表示
- **目的**: 市場構造状態の視覚的確認
- **ラベル**:
- `1.CHoCH`(赤背景、白テキスト) - 強気構造シフト
- `A.CHoCH`(青背景、白テキスト) - 弱気構造シフト
- `2.SMS` / `B.SMS`(赤/青テキスト) - 市場構造のシフト(2回目)
- `3.BMS` / `C.BMS`(赤/青テキスト) - 市場構造のブレイク(3回目以降)
**構造期間**: デフォルト3バー(ICT標準)
### オーダーブロック設定
**マルチタイムフレームOBを有効化**: 複数のタイムフレームから同時にOBを検出
**ミティゲーションオプション**:
- Close - ローソク足がクローズで通過した時にOB無効化
- Wick - ウィックが触れた時にOB無効化
- 50% - ゾーンの50%が侵害された時にOB無効化
**OBを表示**:
- 現在のタイムフレーム(常に)
- 1m、3m、15m、60m(選択可能)
### フェアバリューギャップ設定
**FVGを表示**: FVGレンダリングを有効/無効
**ミティゲーションソース**: Wick、Close、または50%フィル
**カラーカスタマイゼーション**: 強気FVG(緑)、弱気FVG(赤)
### シグナルフィルター
**スターシグナルのみ表示(デフォルトOFF)**:
- ONの時: S7(OBバウンス)とS8(NPR/BBバウンス)のみ表示
- OFFの時: すべてのシグナルS1-S8を表示(デフォルト)
- **使用例**: 最高品質のセットアップに集中し、ノイズを無視
### ビジュアル設定
**EMA表示**: 個別のEMAをオン/オフ切り替え
**VWCクラウド**: 出来高クラウドを有効/無効
**NPR/BBバンド**: 15mと60mバンドを表示/非表示
**ステータステーブル**: すべてのタイムフレームでのリアルタイムVWCステータス
---
## 📚 使用方法
### スキャルパー向け(1m-5m チャート)
1. **1mと3mオーダーブロック**を有効化
2. **シグナル2(VWCスイッチ)**または**シグナル5(BB/EMA50ブレイク)**を監視
3. サポート/レジスタンスとして**1m/3m MTF OB**で確認
4. マイクロターゲット設定に**FVG**を使用
5. 最高品質のスキャルプのために**Star BUY/SELL**のアラートを設定
### デイトレーダー向け(15m-60m チャート)
1. **15mと60mオーダーブロック**を有効化
2. バイアスを確立するために**CHoCH**を待つ
3. **シグナル7(OBバウンス)**または**シグナル8(60m NPR/BBバウンス)**を取引
4. ダイナミックストップ配置に**EMA 50/100**を使用
5. 主要な動きのために**💎 STRONG BUY/SELL**のアラートを設定
### スイングトレーダー向け(4H-日足 チャート)
1. **60mオーダーブロック**を有効化(HTFでより大きなゾーンとしてレンダリング)
2. **市場構造確認**(CHoCH)を待つ
3. 最高確信のために**シグナル1(RSIシフト + 構造)**に集中
4. マクロトレンド整列のために**EMA 200/400/800**を使用
5. 構造シフトを早期に捕捉するために**Bullish/Bearish CHoCH**のアラートを設定
### ユニバーサル戦略(推奨アプローチ)
1. **まずプライマリーシグナルに集中** - 💎 STRONGと🌟スターシグナル**のみ**でトラックレコードを構築
2. **市場構造を待つ** - CHoCH方向に逆らって取引しない
3. **補助シグナルを確認に使用** - スターシグナルが現れたら、補助シグナル(S1-6)も確認するかチェック
4. **オーダーブロックを尊重** - OB方向と矛盾するシグナルをフェード
5. **ターゲットにFVGを使用** - 価格は埋められていないギャップに引き寄せられる
6. **徐々に補助シグナルを組み込む** - プライマリーシグナルで利益が出たら、検証された補助セットアップを実験
### シグナル品質統計(典型的な観察)
一般的な市場行動パターンに基づく:
**💎 STRONGシグナル**:
- 頻度: まれ(日足チャートで週1-3回)
- 勝率: 非常に高い(適切なリスク管理適用時70-85%)
- リスク/リワード: 優秀(典型的に1:3から1:5+)
**🌟 スターシグナル(S7、S8)**:
- 頻度: 中程度(短期足で1日2-5回)
- 勝率: 高い(構造と整列時60-75%)
- リスク/リワード: 良好(典型的に1:2から1:4)
**補助シグナル(S1-6)**:
- 頻度: 高い(活発なタイムフレームで1時間に複数回)
- 勝率: 中程度(単独で50-65%、確認として使用時はより高い)
- リスク/リワード: 変動(典型的に1:1から1:3)
**重要な洞察**: プライマリーシグナルのみの取引は取引頻度を減らしますが、一貫性と心理的容易さを劇的に改善します。
---
## 🏆 このインジケーターのユニークな点
### 1. **真のマルチタイムフレーム統合**
ほとんどの「MTF」インジケーターは単に他のタイムフレームからデータを表示するだけです。Trend Gazer v5はMTFデータを統一されたシグナルに**合成**し、矛盾する情報を排除します。
### 2. **ノンリペイント・アーキテクチャ**
すべてのシグナルはバークローズで固定されます。バックテストで見るものは、リアルタイムで見るであろうもの**そのもの**です。
### 3. **機関投資家フォーカス**
すべてのコンポーネントは機関投資家の行動を中心に設計されています:
- どこで蓄積するか(オーダーブロック)
- いつシフトするか(CHoCH)
- 何を修正しなければならないか(FVG)
- どのようにモメンタムを作り出すか(VWC)
### 4. **完全な透明性**
- **オープンソース** - 完全なコード可視性
- **クレジットされたソース** - すべての借用コンセプトが帰属
- **ブラックボックスなし** - すべての計算が文書化
### 5. **柔軟だが焦点を絞った**
- **8シグナルタイプ** - 任意の市場レジームに適応
- **最適化されたデフォルト設定** - 調整なしですぐに動作
- **オプションフィルター** - 規律あるトレーダーのための「スターシグナルのみ表示」
### 6. **プロフェッショナルアラートシステム**
- **8イベントAny Alert** - 機関投資家の動きを見逃さない
- **個別alertconditions** - あなたの戦略にカスタマイズ
- **フォーマットされたメッセージ** - 即座のコンテキストのためのTicker + Timeframe + Event
---
## 📖 教育的価値
### ICT概念の学習
このインジケーターは以下のための**視覚的教育ツール**として機能します:
- **市場構造**: CHoCH/SiMS/BoMSをリアルタイムで見る
- **オーダーブロック**: 機関投資家がどこでポジショニングしたかを理解
- **フェアバリューギャップ**: 非効率性がどのように埋められるかを学ぶ
- **スマートマネー行動**: 機関投資家の足跡が展開するのを観察
### バックテスティングと戦略開発
Trend Gazer v5を使用して:
1. **ICT概念を検証** - OBバウンスは本当に機能するか?テストする。
2. **エントリータイミングを最適化** - あなたの市場でどのシグナルが最も機能するか?
3. **フィルターを開発** - あなたのエッジのためにシグナルを組み合わせる
4. **戦略を構築** - シグナルをPine Scriptストラテジーにエクスポート
---
## ⚠️ 免責事項
このインジケーターは**教育および情報提供のみを目的**としています。金融アドバイスではありません。
**リスク警告**:
- 取引には重大な損失リスクが伴い、すべての投資家に適しているわけではありません
- 過去のパフォーマンスは将来の結果を**示すものではありません**
- どのインジケーターも利益ある取引を保証することはできません
- あなたは自分の取引決定に対して単独で責任を負います
**取引前に**:
- 自分自身の調査とデューデリジェンスを実施
- 資格のある金融アドバイザーに相談
- 適切なリスク管理を使用(取引あたり1-2%以上リスクを取らない)
- ライブ取引前にペーパー/デモアカウントで練習
- 損失は取引の一部であることを理解
このインジケーターによって提供される情報は、投資アドバイス、金融アドバイス、取引アドバイス、またはその他の種類のアドバイスを構成するものではありません。インジケーターの出力をそのように扱うべきではありません。作成者は、あなたが任意の暗号通貨、証券、または商品を買い、売り、または保有すべきであると推奨するものではありません。常に自分自身の調査を行い、専門的なアドバイスを求めてください。
このソフトウェアは、明示的または黙示的を問わず、いかなる種類の保証もなく「現状のまま」提供されます。
---
## 🔗 クレジットとライセンス
### 原作コードソース
1. **ICT Donchian Smart Money Structure**
- 作者: Zeiierman
- ライセンス: CC BY-NC-SA 4.0
- 変更: マルチシグナルシステムと統合、CHoChパターン検知を追加
2. **Reverse RSI Signals**
- 作者: AlgoAlpha
- ライセンス: MPL 2.0
- 変更: 内部シグナルロジックに適応
3. **Volumetric Weighted Cloud(VWC/TBOSI)**
- 元のコンセプトをマルチタイムフレーム分析に適応
- MTFテーブル表示で強化
4. **Order Block & FVG Detection**
- ICTコンセプトに基づく
- MTFサポートでカスタム実装
### このインジケーターのライセンス
**Mozilla Public License 2.0(MPL 2.0)**
以下が自由です:
- ✅ 商用利用
- ✅ 変更と配布
- ✅ 私的使用
- ✅ 特許使用
条件:
- 📄 ソースを開示
- 📄 ライセンスと著作権表示
- 📄 変更に同じライセンス
---
## 📞 サポートとコミュニティ
### 問題の報告
バグに遭遇したり機能提案がある場合は、以下を提供してください:
1. チャートタイムフレームとシンボル
2. 設定構成
3. 問題のスクリーンショット
4. 期待される動作と実際の動作
### ベストプラクティス
- デフォルト設定で開始
- 各コンポーネントを理解するために段階的に機能を有効/無効化
- ライブ取引前に少なくとも30日間デモアカウントを使用
- 適切なリスク管理と組み合わせる
---
## 🚀 バージョン履歴
### v5.0 - Simplified ICT Mode(現在)
- ✅ すべての未使用フィルターと機能を削除
- ✅ すべての8シグナルをデフォルトで有効化
- ✅ 💎 STRONG CHoChパターン検知を追加
- ✅ OBバウンスラベリングシステムを強化
- ✅ FVG検知と可視化を追加
- ✅ アラートシステムを改善(8イベント)
- ✅ パフォーマンスを最適化(より速いレンダリング)
- ✅ 包括的なDESCRIPTIONドキュメントを追加
### v4.2 - ICT Mode with EMA Convergence Filter(非推奨)
- EMA収束機能を持つレガシーバージョン(シンプルさのために削除)
### v4.0 - Pure ICT Mode(非推奨)
- 初期ICTフォーカスリリース
---
## 🎓 推奨学習リソース
このインジケーターを完全に活用するために、以下を学習してください:
1. **ICTコンセプト**(Inner Circle Trader - YouTube)
- 市場構造
- オーダーブロック
- フェアバリューギャップ
- 流動性コンセプト
2. **スマートマネーコンセプト(SMC)**
- Change of Character(CHoCH)
- Break of Structure(BOS)
- Liquidity Sweeps
3. **Volume Spread Analysis(VSA)**
- Effort vs Result
- Supply vs Demand
- Volume Climax
4. **リスク管理**
- ポジションサイジング
- R-Multiple理論
- 勝率vsリスク/リワードバランス
---
## ✅ クイックスタートチェックリスト
- チャートにインジケーターを追加
- **構造フィルターを有効化**がONであることを確認
- **構造ラベルを表示**がONであることを確認
- 希望するMTFオーダーブロックを有効化(1m、3m、15m、60m)
- FVG表示を有効化
- すべての8イベントのために**Any Alert**を設定
- 最低30日間ペーパートレード
- 取引を文書化(スクリーンショット + ノート)
- 週次でパフォーマンスをレビュー
- あなたの戦略に基づいてフィルターを調整
---
## 💡 最後の考え
**Trend Gazer v5は「魔法のボタン」インジケーターではありません。**教育、練習、規律を必要とするプロフェッショナル分析フレームワークです。
最高のトレーダーは、インジケーターを使って**何をすべきかを教えてもらいません**。インジケーターを使って、プライスアクションで**既に見ているものを確認**します。
このツールを使用して:
- ✅ 分析を確認
- ✅ 低確率セットアップをフィルターアウト
- ✅ 機関投資家の足跡を識別
- ✅ エントリーを精密にタイミング
使用を避けるべき:
- ❌ コンテキストを理解せずに盲目的に取引
- ❌ リスク管理を無視
- ❌ 損失後にリベンジトレード
- ❌ 教育を自動化に置き換える
**スマートに取引しましょう。安全に取引しましょう。構造を持って取引しましょう。**
---
**© rasukaru666 | 2025 | Mozilla Public License 2.0**
*このインジケーターは、取引教育コミュニティに貢献するためにオープンソースとして公開されています。役立つ場合は、あなたの経験を共有して他の人が学ぶのを助けてください。*
Golden BOS Strategy - ChecklistA clean, mechanical on-chart checklist designed for multi-timeframe traders using the Golden BOS / Institutional Retracement Framework.
This tool helps you stay disciplined by tracking each requirement of the strategy in real time:
Included Criteria
4H Bias: Bullish or bearish macro structure
1H Structure: Push/pull phase + golden zone retracement
5M Entry Model:
Break of Structure (BOS)
5M golden zone retracement
POI validation (OB/FVG/Breaker)
Final micro BOS or rejection confirmation
Risk Filters:
Session validity (London / NY)
Red news avoidance
Stop-loss placement check
Liquidity-based target confirmation
Purpose
This overlay ensures every trade meets strict criteria before execution, removing emotion and improvisation. Ideal for backtesting, forward testing, and staying consistent during live market conditions.
Golden BOS Strategy — Description
The Golden BOS Strategy is a structured, multi-timeframe trading system designed to capture high-probability continuation moves during London and New York sessions. The strategy combines institutional concepts with Fibonacci-based retracements to identify discounted entry zones aligned with higher-timeframe direction.
Using the 4H timeframe, traders establish the daily macro bias and identify the dominant trend. The 1H chart is then used to confirm the current phase of market structure, distinguishing between impulsive “push” moves and corrective “pullback” phases. A Fibonacci retracement is applied to the most recent 1H impulse leg to define a high-value discount or premium zone where entries become valid.
Execution takes place on the 5-minute chart. Once price reaches the 1H golden zone (61.8–78.6%), a Break of Structure (BOS) is required to confirm a shift in short-term momentum. A second Fibonacci retracement is then drawn on the 5M impulse leg that caused the BOS, and price must retrace back into the 5M golden zone. Traders refine their entry using a confluence point of interest (POI) such as a Fair Value Gap (FVG), Order Block, Breaker Block, or Inverse FVG, ideally accompanied by a final micro BOS or rejection candle.
Risk management is strict and rule-driven. Stop loss is placed beyond the extreme wick of the POI, while take-profit targets are set at logical liquidity pools in the direction of the higher-timeframe trend. The strategy avoids red-folder news and only allows trades during active sessions to ensure optimal volatility and reliability.
The Golden BOS Strategy is designed to impose discipline, reduce discretionary errors, and give traders a repeatable, mechanical framework for navigating trending markets with precision.
ProfitView Strategy TemplateHello traders,
This script took me a full week of coding/testing, sweat, and tears - and I’m too nice as I’m giving it for free to the community.
If you're tired of manual trading and looking for a solid strategy template to pair with your indicators, look no further.
This Pine Script v5 strategy template is engineered for maximum customization and risk management.
Best part?
This Pine Script v5 template facilitates the dynamic construction of ProfitView alerts, sparing users the time and effort of mastering the ProfitView syntax and manually creating alert commands.
This powerful tool gives much power to those who don't know how to code in Pinescript and want to automate their indicators' signals via the ProfitView Chrome extension.
IMPORTANT NOTES
ProfitView is a trading bot software that forwards TradingView alerts to your brokers (examples: Binance, Oanda, Coinbase, Bybit, etc.) for automating trading.
Many traders don't know how to dynamically create ProfitView-compatible alerts using the data from their TradingView scripts.
Traders using trading bots want their alerts to reflect the stop-loss/take-profit/trailing-stop/stop-loss to break options from your script and then create the orders accordingly.
This script showcases how to create ProfitView alerts dynamically.
TRADINGVIEW ALERTS
1) You'll have to create one alert per asset X timeframe = 1 chart.
Example: 1 alert for EUR/USD on the 5 minutes chart, 1 alert for EUR/USD on the 15-minute chart (assuming you want your bot to trade the EUR/USD on the 5 and 15-minute timeframes)
2) Select the Order fills and alert() function calls condition
3) For each alert, the alert message is pre-configured with the text below
{{strategy.order.alert_message}}
Please leave it as it is.
It's a TradingView native variable that will fetch the alert text messages built by the script.
4) ProfitView doesn't use webhook technology, so setting a webhook URL from the alerts notifications tab is unnecessary.
KEY FEATURES
I) Modular Indicator Connection
* plug your existing indicator into the template.
* Only two lines of code are needed for full compatibility.
Step 1: Create your connector
Adapt your indicator with only 2 lines of code and then connect it to this strategy template.
To do so:
1) Find in your indicator where the conditions print the long/buy and short/sell signals.
2) Create an additional plot as below
I'm giving an example with a Two moving averages cross.
Please replicate the same methodology for your indicator, whether a MACD , ZigZag, Pivots , higher-highs, lower-lows or whatever indicator with clear buy and sell conditions.
//@version=5
indicator("Supertrend", overlay = true, timeframe = "", timeframe_gaps = true)
atrPeriod = input.int(10, "ATR Length", minval = 1)
factor = input.float(3.0, "Factor", minval = 0.01, step = 0.01)
= ta.supertrend(factor, atrPeriod)
supertrend := barstate.isfirst ? na : supertrend
bodyMiddle = plot(barstate.isfirst ? na : (open + close) / 2, display = display.none)
upTrend = plot(direction < 0 ? supertrend : na, "Up Trend", color = color.green, style = plot.style_linebr)
downTrend = plot(direction < 0 ? na : supertrend, "Down Trend", color = color.red, style = plot.style_linebr)
fill(bodyMiddle, upTrend, color.new(color.green, 90), fillgaps = false)
fill(bodyMiddle, downTrend, color.new(color.red, 90), fillgaps = false)
buy = ta.crossunder(direction, 0)
sell = ta.crossunder(direction, 0)
//////// CONNECTOR SECTION ////////
Signal = buy ? 1 : sell ? -1 : 0
plot(Signal, title = "Signal", display = display.data_window)
//////// CONNECTOR SECTION ////////
Important Notes
🔥 The Strategy Template expects the value to be exactly 1 for the bullish signal and -1 for the bearish signal
Now, you can connect your indicator to the Strategy Template using the method below or that one.
Step 2: Connect the connector
1) Add your updated indicator to a TradingView chart
2) Add the Strategy Template as well to the SAME chart
3) Open the Strategy Template settings, and in the Data Source field, select your 🔌Connector🔌 (which comes from your indicator)
Note it doesn’t have to be named 🔌Connector🔌 - you can name it as you want - however, I recommend an explicit name you can easily remember.
From then, you should start seeing the signals and plenty of other stuff on your chart.
🔥 Note that whenever you update your indicator values, the strategy statistics and visuals on your chart will update in real-time
II) BOT Risk Management:
- Max Drawdown:
Mode: Select whether the max drawdown is calculated in percentage (%) or USD.
Value: If the max drawdown reaches this specified value, set a value to halt the bot.
- Max Consecutive Days:
Use Max Consecutive Days BOT Halt: Enable/Disable halting the bot if the max consecutive losing days value is reached.
- Max Consecutive Days: Set the maximum number of consecutive losing days allowed before halting the bot.
- Max Losing Streak:
Use Max Losing Streak: Enable/Disable a feature to prevent the bot from taking too many losses in a row.
- Max Losing Streak Length: Set the maximum length of a losing streak allowed.
Margin Call:
- Use Margin Call: Enable/Disable a feature to exit when a specified percentage away from a margin call to prevent it.
Margin Call (%): Set the percentage value to trigger this feature.
- Close BOT Total Loss:
Use Close BOT Total Loss: Enable/Disable a feature to close all trades and halt the bot if the total loss is reached.
- Total Loss ($): Set the total loss value in USD to trigger this feature.
Intraday BOT Risk Management:
- Intraday Losses:
Use Intraday Losses BOT Halt: Enable/Disable halting the bot on reaching specified intraday losses.
Mode: Select whether the intraday loss is calculated in percentage (%) or USD.
- Max Intraday Losses (%): Set the value for maximum intraday losses.
Limit Intraday Trades:
- Use Limit Intraday Trades: Enable/Disable a feature to limit the number of intraday trades.
- Max Intraday Trades: Set the maximum number of intraday trades allowed.
Restart Intraday EA:
- Use Restart Intraday EA: Enable/Disable a feature to restart the bot at the first bar of the next day if it has been stopped with an intraday risk management safeguard.
III) Order Types and Position Sizing
- Choose between market, limit, or stop orders.
- Set your position size directly in the template.
Please use the position size from the “Inputs” and not the “Properties” tab.
I know it's redundant. - the template needs this value from the "Inputs" tab to build the alerts, and the Backtester needs it from the "Properties" tab.
IV) Advanced Take-Profit and Stop-Loss Options
- Choose to set your SL/TP in either pips or percentages.
- Option for multiple take-profit levels and trailing stop losses.
- Move your stop loss to break even +/- offset in pips for “risk-free” trades.
V) Miscellaneous
Retry order openings if they fail.
Order Types:
Select and specify order type and price settings.
Position Size:
Define the type and size of positions.
Leverage:
Leverage settings, including margin type and hedge mode.
Session:
Limit trades to specific sessions.
Dates:
Limit trades to a specific date range.
Trades Direction:
Direction: Specify the market direction for opening positions.
VI) Notifications (Telegram/Discord/Email/IFTTT/Twilio/SMS)
Customize notifications sent to Telegram, Discord, Email, IFTTT, Twilio, and ProfitView Logger.
VII) Logger
The ProfitView commands are logged in the TradingView logger.
You'll find more information about it in this TradingView blog post .
WHY YOU MIGHT NEED THIS TEMPLATE
1) Transform your indicator into a ProfitView trading bot more easily than before
Connect your indicator to the template
Create your alerts
Set your EA settings
2) Save Time
Auto-generated alert messages for ProfitView.
I tested them all and checked with the support team what could/couldn’t be done.
3) Be in Control
Manage your trading risks with advanced features.
4) Customizable
Fits various trading styles and asset classes.
REQUIREMENTS
* Make sure you have your ProfitView account and do the settings correctly in your Chrome extension. If you don't know how to do it, read the documentation + ask for help in the ProfitView Discord support channel.
* If there is any issue with the template, ask me in the comments section - I’ll answer quickly.
BACKTEST RESULTS FROM THIS POST
1) I connected this strategy template to a dummy Supertrend script.
I could have selected any other indicator or concept for this script post.
I wanted to share an example of how you can quickly upgrade your strategy, making it compatible with ProfitView.
2) The backtest results aren't relevant for this educational script publication.
I used realistic backtesting data but didn't look too much into optimizing the results, as this isn't the point of why I'm publishing this script.
This strategy is a template to be connected to any indicator - the sky is the limit. :)
3) This template is made to take 1 trade per direction at any given time.
Pyramiding is set to 1 on TradingView.
The strategy default settings are:
* Initial Capital: 100000 USD
* Position Size: 1%
* Commission Percent: 0.075%
* Slippage: 1 tick
* No margin/leverage used
Best regards,
Dave
TradingView.To Strategy Template (with Dyanmic Alerts)Hello traders,
If you're tired of manual trading and looking for a solid strategy template to pair with your indicators, look no further.
This Pine Script v5 strategy template is engineered for maximum customization and risk management.
Best part?
This Pine Script v5 template facilitates the dynamic construction of TradingView.TO alerts, sparing users the time and effort of mastering the TradingView.TO syntax and manually create alert commands.
This powerful tool gives much power to those who don't know how to code in Pinescript and want to automate their indicators' signals via TradingView.TO bot.
IMPORTANT NOTES
TradingView.TO is a trading bot software that forwards TradingView alerts to your brokers (examples: Binance, Oanda, Coinbase, Bybit, Metatrader 4/5, ...) for automating trading.
Many traders don't know how to create TradingView.TO dynamically-compatible alerts using the data from their TradingView scripts.
Traders using trading bots want their alerts to reflect the stop-loss/take-profit/trailing-stop/stop-loss to break options from your script and then create the orders accordingly.
This script showcases how to create TradingView.TO alerts dynamically.
TRADINGVIEW ALERTS
1) You'll have to create one alert per asset X timeframe = 1 chart.
Example: 1 alert for BTC/USDT on the 5 minutes chart, 1 alert for BTC/USDT on the 15-minute chart (assuming you want your bot to trade the BTC/USDT on the 5 and 15-minute timeframes)
2) Select the Order fills and alert() function calls condition
3) For each alert, the alert message is pre-configured with the text below
{{strategy.order.alert_message}}
Please leave it as it is.
It's a TradingView native variable that will fetch the alert text messages built by the script.
4) TradingView.TO uses webhook technology - setting a webhook URL from the alerts notifications tab is required.
KEY FEATURES
I) Modular Indicator Connection
* plug your existing indicator into the template.
* Only two lines of code are needed for full compatibility.
Step 1: Create your connector
Adapt your indicator with only 2 lines of code and then connect it to this strategy template.
To do so:
1) Find in your indicator where the conditions print the long/buy and short/sell signals.
2) Create an additional plot as below
I'm giving an example with a Two moving averages cross.
Please replicate the same methodology for your indicator, whether a MACD , ZigZag, Pivots , higher-highs, lower-lows or whatever indicator with clear buy and sell conditions.
//@version=5
indicator("Supertrend", overlay = true, timeframe = "", timeframe_gaps = true)
atrPeriod = input.int(10, "ATR Length", minval = 1)
factor = input.float(3.0, "Factor", minval = 0.01, step = 0.01)
= ta.supertrend(factor, atrPeriod)
supertrend := barstate.isfirst ? na : supertrend
bodyMiddle = plot(barstate.isfirst ? na : (open + close) / 2, display = display.none)
upTrend = plot(direction < 0 ? supertrend : na, "Up Trend", color = color.green, style = plot.style_linebr)
downTrend = plot(direction < 0 ? na : supertrend, "Down Trend", color = color.red, style = plot.style_linebr)
fill(bodyMiddle, upTrend, color.new(color.green, 90), fillgaps = false)
fill(bodyMiddle, downTrend, color.new(color.red, 90), fillgaps = false)
buy = ta.crossunder(direction, 0)
sell = ta.crossunder(direction, 0)
//////// CONNECTOR SECTION ////////
Signal = buy ? 1 : sell ? -1 : 0
plot(Signal, title = "Signal", display = display.data_window)
//////// CONNECTOR SECTION ////////
Important Notes
🔥 The Strategy Template expects the value to be exactly 1 for the bullish signal and -1 for the bearish signal
Now, you can connect your indicator to the Strategy Template using the method below or that one.
Step 2: Connect the connector
1) Add your updated indicator to a TradingView chart
2) Add the Strategy Template as well to the SAME chart
3) Open the Strategy Template settings, and in the Data Source field, select your 🔌Connector🔌 (which comes from your indicator)
Note it doesn’t have to be named 🔌Connector🔌 - you can name it as you want - however, I recommend an explicit name you can easily remember.
From then, you should start seeing the signals and plenty of other stuff on your chart.
🔥 Note that whenever you update your indicator values, the strategy statistics and visuals on your chart will update in real-time
II) BOT Risk Management:
- Max Drawdown:
Mode: Select whether the max drawdown is calculated in percentage (%) or USD.
Value: If the max drawdown reaches this specified value, set a value to halt the bot.
- Max Consecutive Days:
Use Max Consecutive Days BOT Halt: Enable/Disable halting the bot if the max consecutive losing days value is reached.
- Max Consecutive Days: Set the maximum number of consecutive losing days allowed before halting the bot.
- Max Losing Streak:
Use Max Losing Streak: Enable/Disable a feature to prevent the bot from taking too many losses in a row.
- Max Losing Streak Length: Set the maximum length of a losing streak allowed.
Margin Call:
- Use Margin Call: Enable/Disable a feature to exit when a specified percentage away from a margin call to prevent it.
Margin Call (%): Set the percentage value to trigger this feature.
- Close BOT Total Loss:
Use Close BOT Total Loss: Enable/Disable a feature to close all trades and halt the bot if the total loss is reached.
- Total Loss ($): Set the total loss value in USD to trigger this feature.
Intraday BOT Risk Management:
- Intraday Losses:
Use Intraday Losses BOT Halt: Enable/Disable halting the bot on reaching specified intraday losses.
Mode: Select whether the intraday loss is calculated in percentage (%) or USD.
- Max Intraday Losses (%): Set the value for maximum intraday losses.
Limit Intraday Trades:
- Use Limit Intraday Trades: Enable/Disable a feature to limit the number of intraday trades.
- Max Intraday Trades: Set the maximum number of intraday trades allowed.
Restart Intraday EA:
III) Order Types and Position Sizing
- Choose between market or limit orders.
- Set your position size directly in the template.
Please use the position size from the “Inputs” and not the “Properties” tab.
I know it's redundant. - the template needs this value from the "Inputs" tab to build the alerts, and the Backtester needs it from the "Properties" tab.
IV) Advanced Take-Profit and Stop-Loss Options
- Choose to set your SL/TP in either USD or percentages.
- Option for multiple take-profit levels and trailing stop losses.
- Move your stop loss to break even +/- offset in USD for “risk-free” trades.
V) Miscellaneous:
Retry order openings if they fail.
Order Types:
Select and specify order type and price settings.
Position Size:
Define the type and size of positions.
Leverage:
Leverage settings, including margin type and hedge mode.
Session:
Limit trades to specific sessions.
Dates:
Limit trades to a specific date range.
Trades Direction:
Direction: Specify the market direction for opening positions.
VI) Logger
The TradingView.TO commands are logged in the TradingView logger.
You'll find more information about it in this TradingView blog post .
WHY YOU MIGHT NEED THIS TEMPLATE
1) Transform your indicator into a TradingView.TO trading bot more easily than before
Connect your indicator to the template
Create your alerts
Set your EA settings
2) Save Time
Auto-generated alert messages for TradingView.TO.
I tested them all and checked with the support team what could/couldn’t be done.
3) Be in Control
Manage your trading risks with advanced features.
4) Customizable
Fits various trading styles and asset classes.
REQUIREMENTS
* Make sure you have your TradingView.TO account
* If there is any issue with the template, ask me in the comments section - I’ll answer quickly.
BACKTEST RESULTS FROM THIS POST
1) I connected this strategy template to a dummy Supertrend script.
I could have selected any other indicator or concept for this script post.
I wanted to share an example of how you can quickly upgrade your strategy, making it compatible with TradingView.TO.
2) The backtest results aren't relevant for this educational script publication.
I used realistic backtesting data but didn't look too much into optimizing the results, as this isn't the point of why I'm publishing this script.
This strategy is a template to be connected to any indicator - the sky is the limit. :)
3) This template is made to take 1 trade per direction at any given time.
Pyramiding is set to 1 on TradingView.
The strategy default settings are:
* Initial Capital: 100000 USD
* Position Size: 1%
* Commission Percent: 0.075%
* Slippage: 1 tick
* No margin/leverage used
Supertrend Advance Pullback StrategyHandbook for the Supertrend Advance Strategy
1. Introduction
Purpose of the Handbook:
The main purpose of this handbook is to serve as a comprehensive guide for traders and investors who are looking to explore and harness the potential of the Supertrend Advance Strategy. In the rapidly changing financial market, having the right tools and strategies at one's disposal is crucial. Whether you're a beginner hoping to dive into the world of trading or a seasoned investor aiming to optimize and diversify your portfolio, this handbook offers the insights and methodologies you need. By the end of this guide, readers should have a clear understanding of how the Supertrend Advance Strategy works, its benefits, potential pitfalls, and practical application in various trading scenarios.
Overview of the Supertrend Advance Pullback Strategy:
At its core, the Supertrend Advance Strategy is an evolution of the popular Supertrend Indicator. Designed to generate buy and sell signals in trending markets, the Supertrend Indicator has been a favorite tool for many traders around the world. The Advance Strategy, however, builds upon this foundation by introducing enhanced mechanisms, filters, and methodologies to increase precision and reduce false signals.
1. Basic Concept:
The Supertrend Advance Strategy relies on a combination of price action and volatility to determine the potential trend direction. By assessing the average true range (ATR) in conjunction with specific price points, this strategy aims to highlight the potential starting and ending points of market trends.
2. Methodology:
Unlike the traditional Supertrend Indicator, which primarily focuses on closing prices and ATR, the Advance Strategy integrates other critical market variables, such as volume, momentum oscillators, and perhaps even fundamental data, to validate its signals. This multidimensional approach ensures that the generated signals are more reliable and are less prone to market noise.
3. Benefits:
One of the main benefits of the Supertrend Advance Strategy is its ability to filter out false breakouts and minor price fluctuations, which can often lead to premature exits or entries in the market. By waiting for a confluence of factors to align, traders using this advanced strategy can increase their chances of entering or exiting trades at optimal points.
4. Practical Applications:
The Supertrend Advance Strategy can be applied across various timeframes, from intraday trading to swing trading and even long-term investment scenarios. Furthermore, its flexible nature allows it to be tailored to different asset classes, be it stocks, commodities, forex, or cryptocurrencies.
In the subsequent sections of this handbook, we will delve deeper into the intricacies of this strategy, offering step-by-step guidelines on its application, case studies, and tips for maximizing its efficacy in the volatile world of trading.
As you journey through this handbook, we encourage you to approach the Supertrend Advance Strategy with an open mind, testing and tweaking it as per your personal trading style and risk appetite. The ultimate goal is not just to provide you with a new tool but to empower you with a holistic strategy that can enhance your trading endeavors.
2. Getting Started
Navigating the financial markets can be a daunting task without the right tools. This section is dedicated to helping you set up the Supertrend Advance Strategy on one of the most popular charting platforms, TradingView. By following the steps below, you'll be able to integrate this strategy into your charts and start leveraging its insights in no time.
Setting up on TradingView:
TradingView is a web-based platform that offers a wide range of charting tools, social networking, and market data. Before you can apply the Supertrend Advance Strategy, you'll first need a TradingView account. If you haven't set one up yet, here's how:
1. Account Creation:
• Visit TradingView's official website.
• Click on the "Join for free" or "Sign up" button.
• Follow the registration process, providing the necessary details and setting up your login credentials.
2. Navigating the Dashboard:
• Once logged in, you'll be taken to your dashboard. Here, you'll see a variety of tools, including watchlists, alerts, and the main charting window.
• To begin charting, type in the name or ticker of the asset you're interested in the search bar at the top.
3. Configuring Chart Settings:
• Before integrating the Supertrend Advance Strategy, familiarize yourself with the chart settings. This can be accessed by clicking the 'gear' icon on the top right of the chart window.
• Adjust the chart type, time intervals, and other display settings to your preference.
Integrating the Strategy into a Chart:
Now that you're set up on TradingView, it's time to integrate the Supertrend Advance Strategy.
1. Accessing the Pine Script Editor:
• Located at the top-center of your screen, you'll find the "Pine Editor" tab. Click on it.
• This is where custom strategies and indicators are scripted or imported.
2. Loading the Supertrend Advance Strategy Script:
• Depending on whether you have the script or need to find it, there are two paths:
• If you have the script: Copy the Supertrend Advance Strategy script, and then paste it into the Pine Editor.
• If searching for the script: Click on the “Indicators” icon (looks like a flame) at the top of your screen, and then type “Supertrend Advance Strategy” in the search bar. If available, it will show up in the list. Simply click to add it to your chart.
3. Applying the Strategy:
• After pasting or selecting the Supertrend Advance Strategy in the Pine Editor, click on the “Add to Chart” button located at the top of the editor. This will overlay the strategy onto your main chart window.
4. Configuring Strategy Settings:
• Once the strategy is on your chart, you'll notice a small settings ('gear') icon next to its name in the top-left of the chart window. Click on this to access settings.
• Here, you can adjust various parameters of the Supertrend Advance Strategy to better fit your trading style or the specific asset you're analyzing.
5. Interpreting Signals:
• With the strategy applied, you'll now see buy/sell signals represented on your chart. Take time to familiarize yourself with how these look and behave over various timeframes and market conditions.
3. Strategy Overview
What is the Supertrend Advance Strategy?
The Supertrend Advance Strategy is a refined version of the classic Supertrend Indicator, which was developed to aid traders in spotting market trends. The strategy utilizes a combination of data points, including average true range (ATR) and price momentum, to generate buy and sell signals.
In essence, the Supertrend Advance Strategy can be visualized as a line that moves with the price. When the price is above the Supertrend line, it indicates an uptrend and suggests a potential buy position. Conversely, when the price is below the Supertrend line, it hints at a downtrend, suggesting a potential selling point.
Strategy Goals and Objectives:
1. Trend Identification: At the core of the Supertrend Advance Strategy is the goal to efficiently and consistently identify prevailing market trends. By recognizing these trends, traders can position themselves to capitalize on price movements in their favor.
2. Reducing Noise: Financial markets are often inundated with 'noise' - short-term price fluctuations that can mislead traders. The Supertrend Advance Strategy aims to filter out this noise, allowing for clearer decision-making.
3. Enhancing Risk Management: With clear buy and sell signals, traders can set more precise stop-loss and take-profit points. This leads to better risk management and potentially improved profitability.
4. Versatility: While primarily used for trend identification, the strategy can be integrated with other technical tools and indicators to create a comprehensive trading system.
Type of Assets/Markets to Apply the Strategy:
1. Equities: The Supertrend Advance Strategy is highly popular among stock traders. Its ability to capture long-term trends makes it particularly useful for those trading individual stocks or equity indices.
2. Forex: Given the 24-hour nature of the Forex market and its propensity for trends, the Supertrend Advance Strategy is a valuable tool for currency traders.
3. Commodities: Whether it's gold, oil, or agricultural products, commodities often move in extended trends. The strategy can help in identifying and capitalizing on these movements.
4. Cryptocurrencies: The volatile nature of cryptocurrencies means they can have pronounced trends. The Supertrend Advance Strategy can aid crypto traders in navigating these often tumultuous waters.
5. Futures & Options: Traders and investors in derivative markets can utilize the strategy to make more informed decisions about contract entries and exits.
It's important to note that while the Supertrend Advance Strategy can be applied across various assets and markets, its effectiveness might vary based on market conditions, timeframe, and the specific characteristics of the asset in question. As always, it's recommended to use the strategy in conjunction with other analytical tools and to backtest its effectiveness in specific scenarios before committing to trades.
4. Input Settings
Understanding and correctly configuring input settings is crucial for optimizing the Supertrend Advance Strategy for any specific market or asset. These settings, when tweaked correctly, can drastically impact the strategy's performance.
Grouping Inputs:
Before diving into individual input settings, it's important to group similar inputs. Grouping can simplify the user interface, making it easier to adjust settings related to a specific function or indicator.
Strategy Choice:
This input allows traders to select from various strategies that incorporate the Supertrend indicator. Options might include "Supertrend with RSI," "Supertrend with MACD," etc. By choosing a strategy, the associated input settings for that strategy become available.
Supertrend Settings:
1. Multiplier: Typically, a default value of 3 is used. This multiplier is used in the ATR calculation. Increasing it makes the Supertrend line further from prices, while decreasing it brings the line closer.
2. Period: The number of bars used in the ATR calculation. A common default is 7.
EMA Settings (Exponential Moving Average):
1. Period: Defines the number of previous bars used to calculate the EMA. Common periods are 9, 21, 50, and 200.
2. Source: Allows traders to choose which price (Open, Close, High, Low) to use in the EMA calculation.
RSI Settings (Relative Strength Index):
1. Length: Determines how many periods are used for RSI calculation. The standard setting is 14.
2. Overbought Level: The threshold at which the asset is considered overbought, typically set at 70.
3. Oversold Level: The threshold at which the asset is considered oversold, often at 30.
MACD Settings (Moving Average Convergence Divergence):
1. Short Period: The shorter EMA, usually set to 12.
2. Long Period: The longer EMA, commonly set to 26.
3. Signal Period: Defines the EMA of the MACD line, typically set at 9.
CCI Settings (Commodity Channel Index):
1. Period: The number of bars used in the CCI calculation, often set to 20.
2. Overbought Level: Typically set at +100, denoting overbought conditions.
3. Oversold Level: Usually set at -100, indicating oversold conditions.
SL/TP Settings (Stop Loss/Take Profit):
1. SL Multiplier: Defines the multiplier for the average true range (ATR) to set the stop loss.
2. TP Multiplier: Defines the multiplier for the average true range (ATR) to set the take profit.
Filtering Conditions:
This section allows traders to set conditions to filter out certain signals. For example, one might only want to take buy signals when the RSI is below 30, ensuring they buy during oversold conditions.
Trade Direction and Backtest Period:
1. Trade Direction: Allows traders to specify whether they want to take long trades, short trades, or both.
2. Backtest Period: Specifies the time range for backtesting the strategy. Traders can choose from options like 'Last 6 months,' 'Last 1 year,' etc.
It's essential to remember that while default settings are provided for many of these tools, optimal settings can vary based on the market, timeframe, and trading style. Always backtest new settings on historical data to gauge their potential efficacy.
5. Understanding Strategy Conditions
Developing an understanding of the conditions set within a trading strategy is essential for traders to maximize its potential. Here, we delve deep into the logic behind these conditions, using the Supertrend Advance Strategy as our focal point.
Basic Logic Behind Conditions:
Every strategy is built around a set of conditions that provide buy or sell signals. The conditions are based on mathematical or statistical methods and are rooted in the study of historical price data. The fundamental idea is to recognize patterns or behaviors that have been profitable in the past and might be profitable in the future.
Buy and Sell Conditions:
1. Buy Conditions: Usually formulated around bullish signals or indicators suggesting upward price momentum.
2. Sell Conditions: Centered on bearish signals or indicators indicating downward price momentum.
Simple Strategy:
The simple strategy could involve using just the Supertrend indicator. Here:
• Buy: When price closes above the Supertrend line.
• Sell: When price closes below the Supertrend line.
Pullback Strategy:
This strategy capitalizes on price retracements:
• Buy: When the price retraces to the Supertrend line after a bullish signal and is supported by another bullish indicator.
• Sell: When the price retraces to the Supertrend line after a bearish signal and is confirmed by another bearish indicator.
Indicators Used:
EMA (Exponential Moving Average):
• Logic: EMA gives more weight to recent prices, making it more responsive to current price movements. A shorter-period EMA crossing above a longer-period EMA can be a bullish sign, while the opposite is bearish.
RSI (Relative Strength Index):
• Logic: RSI measures the magnitude of recent price changes to analyze overbought or oversold conditions. Values above 70 are typically considered overbought, and values below 30 are considered oversold.
MACD (Moving Average Convergence Divergence):
• Logic: MACD assesses the relationship between two EMAs of a security’s price. The MACD line crossing above the signal line can be a bullish signal, while crossing below can be bearish.
CCI (Commodity Channel Index):
• Logic: CCI compares a security's average price change with its average price variation. A CCI value above +100 may mean the price is overbought, while below -100 might signify an oversold condition.
And others...
As the strategy expands or contracts, more indicators might be added or removed. The crucial point is to understand the core logic behind each, ensuring they align with the strategy's objectives.
Logic Behind Each Indicator:
1. EMA: Emphasizes recent price movements; provides dynamic support and resistance levels.
2. RSI: Indicates overbought and oversold conditions based on recent price changes.
3. MACD: Showcases momentum and direction of a trend by comparing two EMAs.
4. CCI: Measures the difference between a security's price change and its average price change.
Understanding strategy conditions is not just about knowing when to buy or sell but also about comprehending the underlying market dynamics that those conditions represent. As you familiarize yourself with each condition and indicator, you'll be better prepared to adapt and evolve with the ever-changing financial markets.
6. Trade Execution and Management
Trade execution and management are crucial aspects of any trading strategy. Efficient execution can significantly impact profitability, while effective management can preserve capital during adverse market conditions. In this section, we'll explore the nuances of position entry, exit strategies, and various Stop Loss (SL) and Take Profit (TP) methodologies within the Supertrend Advance Strategy.
Position Entry:
Effective trade entry revolves around:
1. Timing: Enter at a point where the risk-reward ratio is favorable. This often corresponds to confirmatory signals from multiple indicators.
2. Volume Analysis: Ensure there's adequate volume to support the movement. Volume can validate the strength of a signal.
3. Confirmation: Use multiple indicators or chart patterns to confirm the entry point. For instance, a buy signal from the Supertrend indicator can be confirmed with a bullish MACD crossover.
Position Exit Strategies:
A successful exit strategy will lock in profits and minimize losses. Here are some strategies:
1. Fixed Time Exit: Exiting after a predetermined period.
2. Percentage-based Profit Target: Exiting after a certain percentage gain.
3. Indicator-based Exit: Exiting when an indicator gives an opposing signal.
Percentage-based SL/TP:
• Stop Loss (SL): Set a fixed percentage below the entry price to limit potential losses.
• Example: A 2% SL on an entry at $100 would trigger a sell at $98.
• Take Profit (TP): Set a fixed percentage above the entry price to lock in gains.
• Example: A 5% TP on an entry at $100 would trigger a sell at $105.
Supertrend-based SL/TP:
• Stop Loss (SL): Position the SL at the Supertrend line. If the price breaches this line, it could indicate a trend reversal.
• Take Profit (TP): One could set the TP at a point where the Supertrend line flattens or turns, indicating a possible slowdown in momentum.
Swing high/low-based SL/TP:
• Stop Loss (SL): For a long position, set the SL just below the recent swing low. For a short position, set it just above the recent swing high.
• Take Profit (TP): For a long position, set the TP near a recent swing high or resistance. For a short position, near a swing low or support.
And other methods...
1. Trailing Stop Loss: This dynamic SL adjusts with the price movement, locking in profits as the trade moves in your favor.
2. Multiple Take Profits: Divide the position into segments and set multiple TP levels, securing profits in stages.
3. Opposite Signal Exit: Exit when another reliable indicator gives an opposite signal.
Trade execution and management are as much an art as they are a science. They require a blend of analytical skill, discipline, and intuition. Regularly reviewing and refining your strategies, especially in light of changing market conditions, is crucial to maintaining consistent trading performance.
7. Visual Representations
Visual tools are essential for traders, as they simplify complex data into an easily interpretable format. Properly analyzing and understanding the plots on a chart can provide actionable insights and a more intuitive grasp of market conditions. In this section, we’ll delve into various visual representations used in the Supertrend Advance Strategy and their significance.
Understanding Plots on the Chart:
Charts are the primary visual aids for traders. The arrangement of data points, lines, and colors on them tell a story about the market's past, present, and potential future moves.
1. Data Points: These represent individual price actions over a specific timeframe. For instance, a daily chart will have data points showing the opening, closing, high, and low prices for each day.
2. Colors: Used to indicate the nature of price movement. Commonly, green is used for bullish (upward) moves and red for bearish (downward) moves.
Trend Lines:
Trend lines are straight lines drawn on a chart that connect a series of price points. Their significance:
1. Uptrend Line: Drawn along the lows, representing support. A break below might indicate a trend reversal.
2. Downtrend Line: Drawn along the highs, indicating resistance. A break above might suggest the start of a bullish trend.
Filled Areas:
These represent a range between two values on a chart, usually shaded or colored. For instance:
1. Bollinger Bands: The area between the upper and lower band is filled, giving a visual representation of volatility.
2. Volume Profile: Can show a filled area representing the amount of trading activity at different price levels.
Stop Loss and Take Profit Lines:
These are horizontal lines representing pre-determined exit points for trades.
1. Stop Loss Line: Indicates the level at which a trade will be automatically closed to limit losses. Positioned according to the trader's risk tolerance.
2. Take Profit Line: Denotes the target level to lock in profits. Set according to potential resistance (for long trades) or support (for short trades) or other technical factors.
Trailing Stop Lines:
A trailing stop is a dynamic form of stop loss that moves with the price. On a chart:
1. For Long Trades: Starts below the entry price and moves up with the price but remains static if the price falls, ensuring profits are locked in.
2. For Short Trades: Starts above the entry price and moves down with the price but remains static if the price rises.
Visual representations offer traders a clear, organized view of market dynamics. Familiarity with these tools ensures that traders can quickly and accurately interpret chart data, leading to more informed decision-making. Always ensure that the visual aids used resonate with your trading style and strategy for the best results.
8. Backtesting
Backtesting is a fundamental process in strategy development, enabling traders to evaluate the efficacy of their strategy using historical data. It provides a snapshot of how the strategy would have performed in past market conditions, offering insights into its potential strengths and vulnerabilities. In this section, we'll explore the intricacies of setting up and analyzing backtest results and the caveats one must be aware of.
Setting Up Backtest Period:
1. Duration: Determine the timeframe for the backtest. It should be long enough to capture various market conditions (bullish, bearish, sideways). For instance, if you're testing a daily strategy, consider a period of several years.
2. Data Quality: Ensure the data source is reliable, offering high-resolution and clean data. This is vital to get accurate backtest results.
3. Segmentation: Instead of a continuous period, sometimes it's helpful to backtest over distinct market phases, like a particular bear or bull market, to see how the strategy holds up in different environments.
Analyzing Backtest Results:
1. Performance Metrics: Examine metrics like the total return, annualized return, maximum drawdown, Sharpe ratio, and others to gauge the strategy's efficiency.
2. Win Rate: It's the ratio of winning trades to total trades. A high win rate doesn't always signify a good strategy; it should be evaluated in conjunction with other metrics.
3. Risk/Reward: Understand the average profit versus the average loss per trade. A strategy might have a low win rate but still be profitable if the average gain far exceeds the average loss.
4. Drawdown Analysis: Review the periods of losses the strategy could incur and how long it takes, on average, to recover.
9. Tips and Best Practices
Successful trading requires more than just knowing how a strategy works. It necessitates an understanding of when to apply it, how to adjust it to varying market conditions, and the wisdom to recognize and avoid common pitfalls. This section offers insightful tips and best practices to enhance the application of the Supertrend Advance Strategy.
When to Use the Strategy:
1. Market Conditions: Ideally, employ the Supertrend Advance Strategy during trending market conditions. This strategy thrives when there are clear upward or downward trends. It might be less effective during consolidative or sideways markets.
2. News Events: Be cautious around significant news events, as they can cause extreme volatility. It might be wise to avoid trading immediately before and after high-impact news.
3. Liquidity: Ensure you are trading in assets/markets with sufficient liquidity. High liquidity ensures that the price movements are more reflective of genuine market sentiment and not due to thin volume.
Adjusting Settings for Different Markets/Timeframes:
1. Markets: Each market (stocks, forex, commodities) has its own characteristics. It's essential to adjust the strategy's parameters to align with the market's volatility and liquidity.
2. Timeframes: Shorter timeframes (like 1-minute or 5-minute charts) tend to have more noise. You might need to adjust the settings to filter out false signals. Conversely, for longer timeframes (like daily or weekly charts), you might need to be more responsive to genuine trend changes.
3. Customization: Regularly review and tweak the strategy's settings. Periodic adjustments can ensure the strategy remains optimized for the current market conditions.
10. Frequently Asked Questions (FAQs)
Given the complexities and nuances of the Supertrend Advance Strategy, it's only natural for traders, both new and seasoned, to have questions. This section addresses some of the most commonly asked questions regarding the strategy.
1. What exactly is the Supertrend Advance Strategy?
The Supertrend Advance Strategy is an evolved version of the traditional Supertrend indicator. It's designed to provide clearer buy and sell signals by incorporating additional indicators like EMA, RSI, MACD, CCI, etc. The strategy aims to capitalize on market trends while minimizing false signals.
2. Can I use the Supertrend Advance Strategy for all asset types?
Yes, the strategy can be applied to various asset types like stocks, forex, commodities, and cryptocurrencies. However, it's crucial to adjust the settings accordingly to suit the specific characteristics and volatility of each asset type.
3. Is this strategy suitable for day trading?
Absolutely! The Supertrend Advance Strategy can be adjusted to suit various timeframes, making it versatile for both day trading and long-term trading. Remember to fine-tune the settings to align with the timeframe you're trading on.
4. How do I deal with false signals?
No strategy is immune to false signals. However, by combining the Supertrend with other indicators and adhering to strict risk management protocols, you can minimize the impact of false signals. Always use stop-loss orders and consider filtering trades with additional confirmation signals.
5. Do I need any prior trading experience to use this strategy?
While the Supertrend Advance Strategy is designed to be user-friendly, having a foundational understanding of trading and market analysis can greatly enhance your ability to employ the strategy effectively. If you're a beginner, consider pairing the strategy with further education and practice on demo accounts.
6. How often should I review and adjust the strategy settings?
There's no one-size-fits-all answer. Some traders adjust settings weekly, while others might do it monthly. The key is to remain responsive to changing market conditions. Regular backtesting can give insights into potential required adjustments.
7. Can the Supertrend Advance Strategy be automated?
Yes, many traders use algorithmic trading platforms to automate their strategies, including the Supertrend Advance Strategy. However, always monitor automated systems regularly to ensure they're operating as intended.
8. Are there any markets or conditions where the strategy shouldn't be used?
The strategy might generate more false signals in markets that are consolidative or range-bound. During significant news events or times of unexpected high volatility, it's advisable to tread with caution or stay out of the market.
9. How important is backtesting with this strategy?
Backtesting is crucial as it allows traders to understand how the strategy would have performed in the past, offering insights into potential profitability and areas of improvement. Always backtest any new setting or tweak before applying it to live trades.
10. What if the strategy isn't working for me?
No strategy guarantees consistent profits. If it's not working for you, consider reviewing your settings, seeking expert advice, or complementing the Supertrend Advance Strategy with other analysis methods. Remember, continuous learning and adaptation are the keys to trading success.
Other comments
Value of combining several indicators in this script and how they work together
Diversification of Signals: Just as diversifying an investment portfolio can reduce risk, using multiple indicators can offer varied perspectives on potential price movements. Each indicator can capture a different facet of the market, ensuring that traders are not overly reliant on a single data point.
Confirmation & Reduced False Signals: A common challenge with many indicators is the potential for false signals. By requiring confirmation from multiple indicators before acting, the chances of acting on a false signal can be significantly reduced.
Flexibility Across Market Conditions: Different indicators might perform better under different market conditions. For example, while moving averages might excel in trending markets, oscillators like RSI might be more useful during sideways or range-bound conditions. A mashup strategy can potentially adapt better to varying market scenarios.
Comprehensive Analysis: With multiple indicators, traders can gauge trend strength, momentum, volatility, and potential market reversals all at once, providing a holistic view of the market.
How do the different indicators in the Supertrend Advance Strategy work together?
Supertrend: This is primarily a trend-following indicator. It provides traders with buy and sell signals based on the volatility of the price. When combined with other indicators, it can filter out noise and give more weight to strong, confirmed trends.
EMA (Exponential Moving Average): EMA gives more weight to recent price data. It can be used to identify the direction and strength of a trend. When the price is above the EMA, it's generally considered bullish, and vice versa.
RSI (Relative Strength Index): An oscillator that measures the magnitude of recent price changes to evaluate overbought or oversold conditions. By cross-referencing with other indicators like EMA or MACD, traders can spot potential reversals or confirmations of a trend.
MACD (Moving Average Convergence Divergence): This indicator identifies changes in the strength, direction, momentum, and duration of a trend in a stock's price. When the MACD line crosses above the signal line, it can be a bullish sign, and when it crosses below, it can be bearish. Pairing MACD with Supertrend can provide dual confirmation of a trend.
CCI (Commodity Channel Index): Initially developed for commodities, CCI can indicate overbought or oversold conditions. It can be used in conjunction with other indicators to determine entry and exit points.
In essence, the synergy of these indicators provides a balanced, comprehensive approach to trading. Each indicator offers its unique lens into market conditions, and when they align, it can be a powerful indication of a trading opportunity. This combination not only reduces the potential drawbacks of each individual indicator but leverages their strengths, aiming for more consistent and informed trading decisions.
Backtesting and Default Settings
• This indicator has been optimized to be applied for 1 hour-charts. However, the underlying principles of this strategy are supply and demand in the financial markets and the strategy can be applied to all timeframes. Daytraders can use the 1min- or 5min charts, swing-traders can use the daily charts.
• This strategy has been designed to identify the most promising, highest probability entries and trades for each stock or other financial security.
• The combination of the qualifiers results in a highly selective strategy which only considers the most promising swing-trading entries. As a result, you will normally only find a low number of trades for each stock or other financial security per year in case you apply this strategy for the daily charts. Shorter timeframes will result in a higher number of trades / year.
• Consequently, traders need to apply this strategy for a full watchlist rather than just one financial security.
• Default properties: RSI on (length 14, RSI buy level 50, sell level 50), EMA, RSI, MACD on, type of strategy pullback, SL/TP type: ATR (length 10, factor 3), trade direction both, quantity 5, take profit swing hl 5.1, highest / lowest lookback 2, enable ATR trail (ATR length 10, SL ATR multiplier 1.4, TP multiplier 2.1, lookback = 4, trade direction = both).
Smoothed Heikin Ashi Trend on Chart - TraderHalai BACKTESTSmoothed Heikin Ashi Trend on chart - Backtest
This is a backtest of the Smoothed Heikin Ashi Trend indicator, which computes the reverse candle close price required to flip a Heikin Ashi trend from red to green and vice versa. The original indicator can be found in the scripts section of my profile.
This particular back test uses this indicator with a Trend following paradigm with a percentage-based stop loss.
Note, that backtesting performance is not always indicative of future performance, but it does provide some basis for further development and walk-forward / live testing.
Testing was performed on Bitcoin , as this is a primary target market for me to use this kind of strategy.
Sample Backtesting results as of 10th June 2022:
Backtesting parameters:
Position size: 10% of equity
Long stop: 1% below entry
Short stop: 1% above entry
Repainting: Off
Smoothing: SMA
Period: 10
8 Hour:
Number of Trades: 1046
Gross Return: 249.27 %
CAGR Return: 14.04 %
Max Drawdown: 7.9 %
Win percentage: 28.01 %
Profit Factor (Expectancy): 2.019
Average Loss: 0.33 %
Average Win: 1.69 %
Average Time for Loss: 1 day
Average Time for Win: 5.33 days
1 Day:
Number of Trades: 429
Gross Return: 458.4 %
CAGR Return: 15.76 %
Max Drawdown: 6.37 %
Profit Factor (Expectancy): 2.804
Average Loss: 0.8 %
Average Win: 7.2 %
Average Time for Loss: 3 days
Average Time for Win: 16 days
5 Day:
Number of Trades: 69
Gross Return: 1614.9 %
CAGR Return: 26.7 %
Max Drawdown: 5.7 %
Profit Factor (Expectancy): 10.451
Average Loss: 3.64 %
Average Win: 81.17 %
Average Time for Loss: 15 days
Average Time for Win: 85 days
Analysis:
The strategy is typical amongst trend following strategies with a less regular win rate, but where profits are more significant than losses. Most of the losses are in sideways, low volatility markets. This strategy performs better on higher timeframes, where it shows a positive expectancy of the strategy.
The average win was positively impacted by Bitcoin’s earlier smaller market cap, as the percentage wins earlier were higher.
Overall the strategy shows potential for further development and may be suitable for walk-forward testing and out of sample analysis to be considered for a demo trading account.
Note in an actual trading setup, you may wish to use this with volatility filters, combined with support resistance zones for a better setup.
As always, this post/indicator/strategy is not financial advice, and please do your due diligence before trading this live.
Original indicator links:
On chart version -
Oscillator version -
Update - 27/06/2022
Unfortunately, It appears that the original script had been taken down due to auto-moderation because of concerns with no slippage / commission. I have since adjusted the backtest, and re-uploaded to include the following to address these concerns, and show that I am genuinely trying to give back to the community and not mislead anyone:
1) Include commission of 0.1% - to match Binance's maker fees prior to moving to a fee-less model.
2) Include slippage of 10 ticks (This is a realistic slippage figure from searching online for most crypto exchanges)
3) Adjust account balance to 10,000 - since most of us are not millionaires.
The rest of the backtesting parameters are comparable to previous results:
Backtesting parameters:
Initial capital: 10000 dollars
Position size: 10% of equity
Long stop: 2% below entry
Short stop: 2% above entry
Repainting: Off
Smoothing: SMA
Period: 10
Slippage: 10 ticks
Commission: 0.1%
This script still remains to shows viability / profitablity on higher term timeframes (with slightly higher drawdown), and I have included the backtest report below to document my findings:
8 Hour:
Number of Trades: 1082
Gross Return: 233.02%
CAGR Return: 14.04 %
Max Drawdown: 7.9 %
Win percentage: 25.6%
Profit Factor (Expectancy): 1.627
Average Loss: 0.46 %
Average Win: 2.18 %
Average Time for Loss: 1.33 day
Average Time for Win: 7.33 days
Once again, please do your own research and due dillegence before trading this live. This post is for education and information purposes only, and should not be taken as financial advice.






















